Delete an application target. Refused with 409 while the application has a sign-in client. The rules of the application are revoked first, which removes them from its access list and ends its sessions.
Parameters
Application ID (UUID), the id of its target
Responses
Accepted
DeleteTargetResponse · 10 fields
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedSet when the deleted target was in Observe: Principal deleted it without revoking access, whatever revoke_managed asked for, and the accounts stay on the target.
target_in_observe With revoke_skipped, the full list of accounts Principal managed on the target that stay on it, without a limit. A target with hundreds of accounts lists all of them.
The application still has a sign-in client (code application_has_dex_clients. Cluster_in_observe when its cluster is in Observe and a client keeps an SSO gate there), or a cleanup of it already runs
Common errors: 400 401 403 404 429 503 504. They mean the same for every operation, see Errors.