PermissionsPolicies

List Policies

GET

Response

This endpoint returns an object
data
list of objectsOptional

Errors

GET
1curl https://app.polytomic.com/api/permissions/policies \
2 -H "Authorization: Bearer <token>"
1{
2 "data": [
3 {
4 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
5 "name": "Policy",
6 "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
7 "policy_actions": [
8 {
9 "action": "read",
10 "role_ids": [
11 "248df4b7-aa70-47b8-a036-33ac447e668d"
12 ]
13 }
14 ],
15 "system": false
16 }
17 ]
18}