Herald
OpenapiPermission

Remove policy from role

Removes a specific permission policy from a role

DELETE
/api/permission/roles/{roleId}/policies/{policyId}

Removes a specific permission policy from a role

Path Parameters

roleId*string

Role ID

Formatuuid
policyId*string

Policy ID

Formatuuid

Response Body

Policy removed successfully

Example Request
curl -X DELETE 'https://example.com/api/permission/roles/497f6eca-6276-4993-bfeb-53cbbbba6f08/policies/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty