Skip to navigation

Remove DataPolicy statements

Beta

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.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

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
createdAtstringOptional
descriptionstring or nullOptional
idstringOptional
modifiedAtstringOptional
namestringOptional
policyStatementslist of objectsOptional
policyTypeenumOptional
Allowed values:

Errors

400
Policy Remove Policy Statements Request Bad Request Error
403
Policy Remove Policy Statements Request Forbidden Error
404
Policy Remove Policy Statements Request Not Found Error
409
Policy Remove Policy Statements Request Conflict Error
429
Policy Remove Policy Statements Request Too Many Requests Error
500
Policy Remove Policy Statements Request Internal Server Error