Use this API to logout from Witly and release the access token. If this request is successful, the server returns a response body that contains the expired token information.
URL
https://Witly.co/api/v2/logout?token={0}[&format={1}] |
HTTP Method
DELETE
Request Body
Not required
Request Parameters
Parameter | Required | Description |
token | Yes | Access token |
format | Optional | Expected return format. The default is JSON. Values are JSON and XML. This parameter is optional. |
Example Request
https://Witly.co/api/v2/logout?token=5c33446ac1c049049f9232cf296bdf10 |
Example Response
{ "ExpiredToken": "5c33446ac1c049049f9232cf296bdf10" } |
Last modified on Jan 23, 2018