[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Generate Otp For Uag Deployment

Description

Generating OTP for bootstrapping UAG deployment

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/admin/v2/uag-deployments/{id}/gateways/{gatewayId}/otp
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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

Errors

Errors

ErrorResponse
400

Bad Request


ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Not Found


ErrorResponse
500

Unexpected internal server error

Code Samples

Code Samples

cURL Command

curl -X POST https://cloud.vmwarehorizon.com/admin/v2/uag-deployments/{id}/gateways/{gatewayId}/otp


Feedback

Was this page helpful?