V2 / logout
Use this resource to log out of an organization and end the version 2 REST API session specified in the request.
POST Request
To log out an organization and end the version 2 REST API session, include the Informatica Intelligent Cloud Services session ID in the request header with the following URI.
/api/v2/user/logout
POST Response
Returns the 200 response code if the request is successful.
Returns the error object if errors occur.
POST Example
To log out of your Informatica Intelligent Cloud Services organization, you might use the following request:
POST <serverURL>/api/v2/user/logout
Content-Type: application/json
Accept: application/json
icSessionId: <icSessionId>
V2 / logoutall
Use this resource to log out of an organization and end all version 2 REST API sessions for the organization
POST Request
To log out of an organization and end all version 2 REST API sessions for the organization, use the following URL:
https://dm-us.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
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": "[email protected]",
"password": "mypassword"
}