Update Policy Status

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

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.
statusenumOptionalDefaults to active

The new status of the policy

Allowed values:

Response

Policy status updated successfully

dataobjectOptional
errorobjectOptional