PATCH
/
v1
/
delegations
/
bulk-delete
Delete multiple delegations
curl --request PATCH \
  --url https://staging.api.us.aptlydone.com/decision/v1/delegations/bulk-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tenantId": "<string>",
  "delegationIds": [
    "<string>"
  ],
  "cascadeToChildDelegations": false
}'
{
  "deleteCount": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

Delegations deleted successfully

The response is of type object.