Skip to navigation

Batch delete Policy

Beta

Batch delete Policies synchronously in one transaction. Maximum 25 items per request.

Each item follows the same restrictions as the single-delete endpoint: only data policies can be deleted, and default or in-use policies are rejected. If any item fails validation, the transaction fails and no policies are deleted.

Authentication

AuthorizationBearer

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

Headers

EARLY-ACCESSstringOptional

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

Request

This endpoint expects an object.
itemslist of objectsRequired

Response

OK
itemslist of objects

Errors

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