None. The API won't care about the body of this request.
--
The access token acts as a password for each request.
The client token is used to identify device (browser client, phone, tablet, etc) of the current session. This allows us to maintain multiple concurrent sessions across devices / browsers.
The unique identifier for the current user.
--
access-token: bgINB4atOxd8SMNvtOTDxg
client: V7EN7LSRYAbpE_-c5PvRSw
uid: test@test.com
--
A json object containing the following keys.
Will always be "success"
.
A message from the API that will be displayed to the user.
--
{
"message": "Account with uid 468037 has been destroyed."
"status": "success"
}
--
None. The client won't care about any headers for this response.
--
This will contain the response status, and an array of any errors that the server encountered in processing the request.
Will always be "error"
.
A list of errors that will be displayed to the user.
--
{
"status":"error",
"errors":["Unable to locate account for destruction."]
}
--
None. The client won't care about any headers for this response.