Unprotect a resource.¶
Method¶
DELETE https://papi.afi.ai/api/v1/tenants/{tenant_id}/resources/{resource_id}/protect
Description¶
Unassigns the specified policy from the resource.
Path params¶
|
tenant_id
string
required
Tenant that owns the resource. |
|
resource_id
string
required
ID of the resource to unprotect. External IDs are not supported here. |
Query params¶
|
policy_id
string
required
Policy ID to remove from the resource. |
curl -X DELETE \
-H 'Authorization: {api-key}' \
https://papi.afi.ai/api/v1/tenants/{tenant_id}/resources/{resource_id}/protect?policy_id={value}
Successful response (200) schema¶
| object |