Update Policy Status
Modifies the status of a policy to either "active" or "inactive".
<Note title="Header Access Token">
To call this endpoint, you must use your [access token](/docs/how-to-create-access-keys) in the [authorization header](/docs/how-to-use-api-keys-in-http-headers) of the API request.
</Note>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Path parameters
id
ID of the policy to be updated
Request
This endpoint expects an object.
status
The new status of the policy
Allowed values:
Response
Policy status updated successfully
data
error