Remove account
POST/api/accounts/:account_id/remove
Deletes an agent account: takes it out of rotation, stops the tasks running on it (each keeps its worktree and relaunches on another account), deletes it, and removes its login files from its shared folder and from every node that holds them, in the background after the answer; an offline node removes them when it next connects. A key-based account is deleted directly, with its stored secret. Returns 204 with no body, and requires the Org Owner or Org Admin role.
Request
Responses
- 204
- 422
No content
Unprocessable content