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

Get By ID

Description

Fetch one Active Directory record

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/admin/v2/active-directories/{id}
Copy

Path Parameters

Path Parameters

string
id Required

Active directory ID


Query Parameters

Query Parameters

boolean
expanded Optional

If true, results will include additional data (e.g. join user name)


string
org_id Optional

Filter by orgId: non-super users can only query for their own orgIds


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns ActiveDirectoryTOV2 of type */*

Successfully retrieved active directory record

{
	"bindAccounts": {
		"auxiliary": {
			"username": "string"
		},
		"primary": {
			"username": "string"
		}
	},
	"createdAt": "string",
	"credentialId": "5fb352ed5b19360006d8fd93",
	"defaultOU": "OU=Computers",
	"description": "This is a test AD",
	"dnsDomainName": "example.com",
	"id": "0123456789",
	"joinAccounts": {
		"auxiliary": {
			"username": "string"
		},
		"primary": {
			"username": "string"
		}
	},
	"location": "US",
	"name": "TestAD",
	"orgId": "0123456789",
	"updatedAt": "string",
	"version": 0
}
bindAccounts Optional

string as date-time
createdAt Optional

Record creation timestamp


string
credentialId Optional

The credential ID to be used with the credential service


string
defaultOU Optional

Default OU (organizational unit) for adding VMs to the domain


string
description Optional

Description for the AD


string
dnsDomainName Optional

Directory DNS name


string
id Optional

Unique record ID


joinAccounts Optional

string
location Optional

location


string
name Optional

Name that helps the customer identify the record


string
orgId Optional

Org ID that owns this record


string as date-time
updatedAt Optional

Record update timestamp


integer as int64
version Optional

Record version (internal)

Errors

Errors

401

Unauthorized


403

Forbidden


404

Active directory record not found

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/admin/v2/active-directories/{id}


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

Was this page helpful?