POST User/logoff
Logs the current user off.
Request Information
URI Parameters
None.
Body Parameters
AuthenticatedRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
API access token |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"token": "80aa489d-a86d-495d-a168-9feeb1c09a16"
}
application/xml, text/xml
Sample:
<AuthenticatedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models"> <token>80aa489d-a86d-495d-a168-9feeb1c09a16</token> </AuthenticatedRequest>
Response Information
Resource Description
APIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
API result code |
integer |
None. |
| error |
API error message |
string |
None. |
| APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"APIVersion": 1,
"code": 200,
"error": "sample string 2"
}
application/xml, text/xml
Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API"> <APIVersion>1</APIVersion> <error>sample string 2</error> </APIResult>