Remove a policy from an Autonomy Zone (removed)
DELETE/api/public/v1/zones/{zone_id}/policy-attachments/{public_id}
Removed: an AIP cannot leave its Autonomy Zone. Always answers 410 OPERATION_REMOVED and writes nothing, whatever the Idempotency-Key. An intent policy cannot leave its Autonomy Zone: delete it with DELETE /policies/{public_id}, or copy it to another zone with POST /policies/{public_id}/copy.
Pas encore d’exemple. Construisez la requête à partir des paramètres et du corps ci-dessous.
Autorisation
Section intitulée « Autorisation »| Rôle dans l’organisation | Ce point de terminaison |
|---|---|
owner | Autorisé |
admin | Autorisé |
editor | Autorisé |
viewer | Non autorisé |
Une clé porte le rôle que son propriétaire détient dans l’organisation. Voir Authentification.
Portée de clé d’API : policies:write
Paramètres de chemin
Section intitulée « Paramètres de chemin »| Paramètre | Type | Description |
|---|---|---|
zone_id | string (uuid) | Obligatoire. |
public_id | string | Obligatoire. |
- 401 Unauthorized —
UNAUTHORIZED - 402 Payment Required —
license_expired - 403 Forbidden —
FEATURE_DISABLED,FORBIDDEN,INSUFFICIENT_SCOPE - 404 Not Found —
NOT_FOUND - 410 —
OPERATION_REMOVED - 422 Unprocessable Content —
INVALID_ID,VALIDATION_ERROR - 429 Too Many Requests —
TOO_MANY_REQUESTS - 500 Internal Server Error —
INTERNAL_SERVER_ERROR,tenant_isolation_violation - 503 Service Unavailable —
FEATURE_STATE_UNAVAILABLE,SERVICE_UNAVAILABLE