Immediately logout (expire) an authentication token

Immediately invalidate an access token so that it cannot be used for authentication.

Prerequisites

  • The URL for the Control Room in which the token was generated
  • The token that you want to expire

Procedure

  1. Enter the following parameters to the request URL.
    http://<your_control_room_url>/v1/authentication/logout
  2. In a header for this request, enter the token that is to be expired.
    Note: There are no body parameters in this request.
  3. Send the request.
    • In a REST Client, click SEND.
    • In the Swagger interface, click Execute.
    Response header:
    Note: A 204 response code indicates that the request was successful and that there is no additional content to be sent to the response body.
    
        Status Code: 204 No Content
        cache-control: no-cache, no-store, max-age=0, must-revalidate
        content-security-policy: default-src 'self'
        content-type: application/json
        date: Thu, 31 Oct 2019 08:37:35 GMT
        expires: 0
        pragma: no-cache
        x-content-type-options: nosniff
        x-frame-options: SAMEORIGIN
        x-xss-protection: 1; mode=block