Archive Policy Control

DELETE /policies/policy-controls/{policyControlId}

Archives a PolicyControl its id. Archived policy controls will no longer be enforced.

Required Permissions

NameConditions

PolicyControls:Archive

Always Required

Parameters

Path parameters

Path parameterDescription

policyControlId

Unique identifier of the policy control like: pc-orange-magnesium-a0606d08b2

Response

Response example

Note the status is now set to Archived:

{
   "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": "Archived"
}

Last updated