Login
Use this API instead:
- /oauth/tenant/{{tenant name}}/token
Performs login.
Access Policy
| Role | Access |
|---|---|
| Anonymous | ✔️ |
Request
URI
POST
https://vra-interop-222-139.lvn.broadcom.net/csp/gateway/am/api/login
COPY
Query Parameters
string
access_token
Optional
When this parameter is present, the response will contain refresh token.
Request Body
LoginRequest
of type(s)
application/json
Required
Show optional properties
{
"username": "string",
"password": "string"
}
{
"username": "string",
"password": "string",
"domain": "string",
"scope": "string"
}
string
username
Required
The username.
string
password
Required
The password.
string
domain
Optional
The user's domain.
string
scope
Optional
Scope of the issued token.
Responses
400
Wrong username or password.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"password:"string","username:"string"}' https://{api_host}/csp/gateway/am/api/login
Deprecated
On This Page
Login Controller Operations
POST
Login
Deprecated
POST
Login Oauth
Deprecated