REST API Reference > Platform REST API version 2 resources > logoutall
  

logoutall

Use this resource to log out of an organization and end all version 2 REST API sessions for the organization.
Don't log out of the sessions until all the API requests have been executed.

POST Request

To log out of an organization and end all version 2 REST API sessions for the organization, use the following URL:
https://<cloud provider>-<region>.informaticacloud.com/ma/api/v2/user/logoutall
With this URL, use the following attributes in a logout object:
username
Informatica Intelligent Cloud Services user name.
password
Informatica Intelligent Cloud Services password.

POST Response

Returns the success object if the request is successful.
Returns the error object if errors occur.

POST Example

To log out of an organization and all version 2 REST API sessions, you might use the following request:
POST https://dm-us.informaticacloud.com/ma/api/v2/user/logoutall
Content-Type: application/json
Accept: application/json
{
"@type": "logout",
"username": "useremail@company.com",
"password": "mypassword"
}