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.
Aún no hay ejemplo. Construya la solicitud a partir de los parámetros y del cuerpo que aparecen más abajo.
Autorización
Sección titulada «Autorización»| Rol en la organización | Este punto de conexión |
|---|---|
owner | Permitido |
admin | Permitido |
editor | Permitido |
viewer | No permitido |
Una clave tiene el rol que su propietario ocupa en la organización. Consulte Autenticación.
Ámbito de la clave de API: policies:write
Parámetros de ruta
Sección titulada «Parámetros de ruta»| Parámetro | Tipo | Descripción |
|---|---|---|
zone_id | string (uuid) | Obligatorio. |
public_id | string | Obligatorio. |
Respuesta
Sección titulada «Respuesta»- 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