Docs
Live demo
DELETE/api/v2/applications/{id}

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

Path1 required of 1
idstring · uuidpathrequired

Application ID (UUID), the id of its target

Responses

202

Accepted

DeleteTargetResponse · 10 fields
terminalbooleanrequired

Whether this operation has finished.

outcomestring (entity.OperationOutcome)required

Final operation result, or null while the operation is active.

successfailurecancelledpartial
can be null
substatestring (entity.OperationSubstate)required

Qualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.

rollback_in_progressrolled_backneeds_repairoutcome_unknowninterruptedrequires_approvalholds_lockawaiting_confirmationexpiredtimed_outrescheduled
can be null
cleanup_task_idstring
created_atstring
job_idstring
messagestring

Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.

queuedrunningfinished
revoke_skippedstring

Set 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
accounts_leftarray of string

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.

409

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.

↑ ↓ to moveEnter to openEsc to close