Skip to navigation

Remove DataPolicy statements

Remove policy statements from a DataPolicy. Each statement is matched on (itemType, action) and removed regardless of its condition; the absence of a statement means the action is not granted. Removing a statement that is not present is a no-op. Only DataPolicy objects can be edited.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

policy_idstringRequired
ID of the Policy.

Request

This endpoint expects an object.
statementslist of objectsRequired

Policy statements to remove, each identified by its item type and action. Statements for other (itemType, action) pairs are left unchanged.

Response

OK
__typenamestringOptional
createdAtstringOptionalformat: "datetime"
descriptionstring or nullOptional
idstringOptional
modifiedAtstringOptionalformat: "datetime"
namestringOptional
policyStatementslist of objectsOptional
policyTypeenumOptional
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