Add DataPolicy statements
Add policy statements to a DataPolicy. Acts as an upsert keyed on (itemType, action): for each incoming statement, any existing statement with the same item type and action is overwritten with the provided condition, and statements for other (itemType, action) pairs are left unchanged. Only DataPolicy objects can be edited.
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.
statements
Policy statements to add. Any existing statement with the same item type and action is overwritten with the provided condition; other statements are left unchanged.
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