Delete Account
DELETE /v1/accounts/{id}
Soft deletes an account by its ID. The account is marked as deleted but remains in the database for audit purposes.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <token> |
X-Target-Server | Yes | accounts |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string (UUID) | Yes | Account ID |
Response
204 No Content
Account deleted successfully. No response body.
401 Unauthorized
Invalid or missing token.
404 Not Found
Account not found or does not belong to your node.