PermissionsPolicies

Get Policy

GET

Path parameters

idstringRequired

Response

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