REST API Reference > Platform REST API version 3 resources > Logout
  

Logout

Use the logout resource to log out of an organization and end the version 3 REST API session specified in the request.
Don't log out of a REST API session until all the requests that you've sent have been executed.

POST request

To log out of an organization and end the version 3 REST API session, include the session ID in the request header with the following URI:
https://<cloud provider>-<region>.informaticacloud.com/saas/public/core/v3/logout

POST response

Returns the 200 response code if the request is successful or an error object if errors occur.

POST example

To log out of your organization, use the following request:
POST https://dm-us.informaticacloud.com/saas/public/core/v3/logout
Content-Type: application/json
Accept: application/json
INFA-SESSION-ID: <sessionId>