[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Generate Otp For Uag Deployment
DescriptionGenerating OTP for bootstrapping UAG deployment
Request
URLURL
https://cloud.vmwarehorizon.com/admin/v2/uag-deployments/{id}/gateways/{gatewayId}/otp
Path Parameters
Path Parameters
string
gatewayId
Required
Gateway ID
string
id
Required
UAG Deployment ID
Query Parameters
Query Parameters
string
org_id
Optional
Organization ID: non-super users can only access their own organization
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
UAGOtpGenerationTO
of type */*
Generated the OTP needed for bootstrapping UAG
{
"configKey": "string",
"deploymentId": "string",
"gatewayId": "string",
"orgId": "string"
}
string
deploymentId
Required
string
gatewayId
Required
string
configKey
Optional
string
orgId
Optional
201 Created
Created
Operation doesn't return any data structure.
Errors
ErrorResponse
400
Bad Request
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
404
Not Found
ErrorResponse
500
Unexpected internal server error
Code Samples
cURL Command
curl -X POST https://cloud.vmwarehorizon.com/admin/v2/uag-deployments/{id}/gateways/{gatewayId}/otp
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
On This Page
Admin Operations
post
delete
patch