policies

Update a policy's identity fields

put/v1/policies/{policy_id}

Path parameters

policy_idstring uuid required

Request body

namestring nullable
descriptionstring nullable
enabledboolean nullable
metadataobject nullable

Response

Successful Response

idstring uuid required
organization_idstring uuid required
namestring required
descriptionstring nullable
enabledboolean required
scopestring required
active_revision_idstring uuid nullable
metadataobject
created_atstring date-time required
updated_atstring date-time required

Changes

Changed in 1 of the 3 revisions of this API.6

    • added the optional property retry_after to the response with the 400 status

      response-optional-property-added

    • added the optional property retry_after to the response with the 401 status

      response-optional-property-added

    • added the optional property retry_after to the response with the 404 status

      response-optional-property-added

    • added the optional property retryable to the response with the 400 status

      response-optional-property-added

    • added the optional property retryable to the response with the 401 status

      response-optional-property-added

    • added the optional property retryable to the response with the 404 status

      response-optional-property-added

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog