Provider Login
Logs in a user (Provider only)
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/sessions/provider
COPY
Header Parameters
string
Authorization
Required
Authorization
Responses
200
OK
Returns Session of type(s) application/json;version=38.1
{
"id": "urn:vcloud:session:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"site": {
"name": "string",
"id": "string"
},
"user": {
"name": "string",
"id": "string"
},
"org": {
"name": "string",
"id": "string"
},
"operatingOrg": {
"name": "string",
"id": "string"
},
"location": "string",
"roles": [
"string"
],
"roleRefs": [
{
"name": "string",
"id": "string"
}
],
"sessionIdleTimeoutMinutes": 0
}
string
id
Optional
ID of session
string
location
Optional
The accessible location this session is valid for
array of string
roles
Optional
User's roles for this session
integer
sessionIdleTimeoutMinutes
Optional
The session idle timeout in minutes
401
Unauthorized
Operation doesn't return any data structure
Availability
Added in 33.0
Sessions Operations
GET
Get Accessible Locations
GET
Get Current Session
GET
Get Current Sessions
GET
Get Session
GET
Get Token
POST
Login
DELETE
Logout
DELETE
Logout Current Session
POST
Provider Login