[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Get Access Token
DescriptionGets the access token to authenticate the user.
Request
URLURL
https://cloud.vmwarehorizon.com/auth/v1/token
Request Body
Request Body
{
"code": "oiuoidaspdp-sad!sdr",
"force": false,
"redirectUri": "redirect-uri"
}
string
code
Required
Code value
boolean
force
Required
Force update of multiple Azure tenant to CSP org mapping
string
redirectUri
Required
url to redirect to
string
idpTenantDomain
Optional
IDP tenant Domain/Tenant alias
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
AuthResponse
of type */*
{
"access_token": "access-token",
"id_token": "id_token",
"refresh_token": "refresh_token",
"user_id": "user_id"
}
string
access_token
Optional
Access token
string
id_token
Optional
Id token
string
refresh_token
Optional
Refresh token
string
user_id
Optional
User Id
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"code":"oiuoidaspdp-sad!sdr","force":false,"idpTenantDomain":"abccompany","redirectUri":"redirect-uri"}' https://cloud.vmwarehorizon.com/auth/v1/token
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: authRequest
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
On This Page
Auth Operations
get
delete
delete
post
get
get
get
get
post
post
patch
post
post