POST /api/iam/login

Operation:
POST /api/iam/login
Description:
This resource is used to essentially "log in" to OnDemand. The response status will be 201 Created if successful with a custom response header vchs-authorization containing the OAUTH2 authentication token. If the request contains incorrect credentials, a status of 401, will be returned.
Also returned is a response body containing the service group ID of the authenticated user. The JSON response would look like:
 
 {
   serviceGroupIds: [
     "85a29d81-e150-49ed-b722-3e39b174fcd3"
   ]
 }
 
Since:
5.7
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
a collection of 1 or more service group ids.

Produce media type(s):
application/json;version=5.7
application/xml;version=5.7
Output type:
java.lang.String
Examples