Update Policy
Update a Policy.
Restrictions
- Only data policies can be updated; requests targeting other policy types are rejected.
- Only
nameanddescriptionmay be modified. namemust be unique among the tenant’s data policies.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
policy_id
ID of the Policy.
Request
This endpoint expects an object.
description
The description of the Policy. Pass null to clear the description.
name
The name of the Policy
reasonForChange
Reason for change applied to the entire request. Only relevant to tenants with Data Modifications enabled, where it may be required to update or delete items and is validated against the tenant’s configured reasons. Tenants without Data Modifications enabled can omit it; if supplied, it is not validated.
Response
OK
__typename
createdAt
description
id
modifiedAt
name
policyStatements
policyType
Allowed values:
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error