Data api authentication revoketoken - movabletype/Documentation GitHub Wiki
Invalidate current access token. This is not logout. If the browser has active session id, new access token can be obtained easily.
Authorization is required.
This method accepts DELETE and POST with __method=DELETE.
DELETE https://your-host/your-mt-api.cgi/v1/token
Not available.
Not available.
Do not supply a request body.
| Parameter | Type | Description |
|---|---|---|
| status | string | The value of this parameter is always "success". |
| Code | Description |
|---|---|
| 200 | no error |
DELETE /mt-api.cgi/v1/token
Host: www.example.com
X-MT-Authorization: MTAuth=xxxxxxxxxxxxxxxxxxxxxxxx
HTTP/1.0 200 OK
Content-Type: application/json
Content-length: ...