API Documentation

DELETE /accounts/:id

Removes the selected Account.

Headers

NAME VALUE
Content-Type application/json
Authorization Bearer {token}

Request

Empty body

Response

NAME VALUE
accountId Int. The ID of the account that was deleted.

Status Code

CODE COMMENT
202 Request OK, account deleted.
401 User not authorized.