v4

latestOpenAPI 3.1.02026-08-02261331761.5 KB
Policy Guards (EAP)

Delete Policy Guard Rule

Remove a policy guard rule.

delete/v2/policy_guards/scopes/{policy_guard_scope_id}/rules

Path parameters

policy_guard_scope_idstring required

Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the "slug").

Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the "slug").

Request body

resource_keystring required

The key of the resource.

role_keystring

The key of the role.

action_keystring required

The key of the action.

Example request

{
  "resource_key": "document",
  "role_key": "admin",
  "action_key": "read"
}

Response

Successful Response