Delete an account
Required permissions: accounts:delete.
Soft delete. Returns 200, not 204, with the account as it was — nothing in the response body distinguishes it from a normal GET, and there is no deletedAt field in this API's Account shape. The proof of deletion is behavioral: this id now 404s (account_not_found) on the account routes, is rejected as a POST /v1/discoveries accountIds entry with a 400 (unknown_account), and no longer appears in GET /v1/accounts. Only the account record goes: the events and people already discovered for it stay, so GET /v1/events and GET /v1/people keep returning rows carrying the deleted accountId.
Request
- Base URL: https://api.trayo.ai
- URL: https://api.trayo.ai/v1/accounts/{id}
- Auth: HTTP bearer
Path parameters
Response
The account as it existed immediately before deletion.
Changes
No recorded changes to this operation across all 1 revision of this API.