Update Policy Status

Modifies the status of a policy to either “active” or “inactive”.

Header Access Token

To call this endpoint, you must use your access token in the authorization header of the API request.

Path parameters

idstringRequired
ID of the policy to be updated

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
statusenumRequired
The new status of the policy
Allowed values:

Response

Policy status updated successfully
dataobject or null
errorobject or null