Skip to main content

Deprovision account

POST 

/api/accounts/:account_id/deprovision

Removes an agent account's login files from its node, then deletes the account once the node confirms; a key-based account is deleted directly. Returns 204 with no body; the account is kept on 409 when the node has no recorded home directory, 502 when the node fails, and 503 or 504 when the node cannot be reached. Requires the Org Owner or Org Admin role.

Request​

Responses​

No content