Skip to main content

Delete Access Control Rule

This request deletes an Access Control Rule object, targeted by secure ID.

delete /accesscontrol/rules/{rule_sid}

Sample

A sample DELETE request to delete the Access Control Rule, targeted by secure ID:

curl -X DELETE \
'https://api.carrierx.com/core/v2/accesscontrol/rules/c9109b54-13f2-4157-ba23-2984b3a207dc' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response

204 status code with an empty body.

ACRs can only be deleted when associated with the partner. Partners cannot delete an ACR for a parent partner when the value of read_only is true.

Required Scopes

To delete an Access Control Rule object, the partner must have one of the following scopes enabled:

  • accesscontrol.manage
  • accesscontrol.delete

Path Arguments

ParameterData TypeDescription
rule_sid requiredstringThe secure ID of the Access Control Rule to delete.