Retrieve Auth Token
Retrieve AuthToken for local csp users.
When accessing other endpoints the Bearer
authentication scheme and the received token
must be provided in the Authorization
request header field as follows:
Authorization: Bearer {token}
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
CspLoginSpecification instance
{
"refreshToken": "5e7c2c-9a9e-4b0-9339-a7f94"
}
Refresh token obtained from the UI
Successful operation
"AuthResponse Object"
Type of the token.
Base64 encoded auth token.
Invalid Request - bad data
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"refreshToken:"string"}' https://{api_host}/iaas/api/login