Policies

Partially updates an existing policy. Only provided fields are updated.

patch/v2/policies/{policy_id}

Request

Path parameters

policy_idstring required

The ID of the policy

Request body

descriptionstring
display_namestring
enabledboolean
project_idstring

Optional project ID to assign the policy to.

timeoutinteger

Response

Policy updated successfully

_idstring required
created_atstring date-time required
created_by_idstring required
descriptionstring
display_namestring required
enabledboolean required
project_idstring required
slugstring required
timeoutinteger required
updated_atstring date-time required
updated_by_idstring required

Changes

    • info

      added the new optional request property /

    • info

      added the optional property / to the response with the status

    • warning

      removed the request property /

    • warning

      removed the optional property / from the response with the status