Authentication

Sign out

DELETE
/auth/v1/tokens/

Using your access token to logout, adding current access token to blacklist and can no more access api services.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT access token returned by Signing In (POST /auth/v1/tokens/).

In: header

Request Body

application/json

apiKey?string
userName?string

Response Body

application/json

application/json

curl -X DELETE "https://example.com/auth/v1/tokens/" \  -H "Content-Type: application/json" \  -d '{}'
"{\n  \"replyCode\":0\n  \"replyMessage\":\"[Request handled successfully] Logout success.\"\n  \"requestId\":\"26107650-3988-11ea-954f-b15b69033ab2\"\n  \"clientRequestId\":0\n  \"requestTime\":\"2020-01-18T02:19:10.517\"\n  \"data\":{\n    \"access_token\":<api_key>\n    }\n}"