List Policy Controls

GET /policies/policy-controls/

Lists all PolicyControls belonging to an Org.

Required Permissions

NameConditions

PolicyControls:Read

Always Required

Response

Response example

If successful, the response contains a list of policy controls:

{
   "items": [
      {
       "configuration": {
           "timeoutInMinutes": 10,
           "approverUsernames": ["bob@example.com", "seth@example.com"],
           "numApprovals": 1,
           "kind": "RequestApproval"
       },
       "kind": "RequestApproval",
       "author": "oe-nine-artist-9de60fef6963",
       "description": "Test policy control",
       "version": "f1b2121lm",
       "orgId": "cu-purple-pip-1b417b958500",
       "tags": [],
       "dateCreated": "2022-07-14T21:36:42.574Z",
       "name": "Test",
       "id": "pc-foxtrot-harry-ae42882af3",
       "status": "Enabled"
    }
, 
...
   ]
}

Last updated