Acquia CDP

Logging out of the API session

To log out of the API session:

  1. Set the endpoint for API. For example,


  2. Use a POST method.

  3. Set the content-type header value to application/json.

  4. Set the authorization header value to Bearer <access_token>.

Response codes

  • 200: Successful response code.

  • 500: Bad request.

     "userMessage":"There was an exception processing the given request",
     "developerMessage":"6bad791c-2477-4f88-a595- 725515fc057a",
  • 401: Unauthorized if the session is invalid.

     "userMessage":"Invalid token",