Returns the list of policies and their metadata
Malformed data and/or validation errors
Invalid Authorization
Response Code 402
You must pay to activate this feature
You are not allowed to perform this action
Record Not Found
Internal server error
Response Code: 412
You must accept the Drata terms and conditions to use the API
{- "data": [
- {
- "id": 1,
- "currentVersionId": 1,
- "name": "Acceptable Use Policy",
- "version": "1",
- "minorVersion": "1",
- "createdAt": "2020-07-06 12:00:00.000000",
- "approvedAt": "2020-07-06 12:00:00.000000",
- "renewalDate": "2025-01-30",
- "hasSla": "Yes",
- "currentOwner": { },
- "groups": [
- {
- "id": 1,
- "name": "Operations",
- "description": "This is an example",
- "externalId": "23kemoi23em",
- "source": "GOOGLE",
- "domain": "email.com",
- "type": "GROUP",
- "orgUnitPath": "asdas/qweqwe/asdasd",
- "membersCount": 10
}
], - "htmlLastUpdated": "2020-07-06 12:00:00.000000",
- "status": "APPROVED",
- "publishedAt": "2020-07-06 12:00:00.000000"
}
], - "page": 1,
- "limit": 10,
- "total": 100
}