Create
DescriptionCreates a new Active Directory record in the admin service, belonging to the specified org. This does not create anything in AD itself.
Request
URLURL
Request Body
{
"defaultOU": "OU=Computers",
"description": "This is a test AD",
"dnsDomainName": "example.com",
"name": "TestAD",
"orgId": "0123456789"
}
OU (Organizational Unit) used by default for adding pool VMs to the domain unless specified on the pool
Description for the AD
Directory Domain Name
Name that helps the customer identify the record
Org ID that owns this record
Authentication
Response
Response BodyResponse Body
201 Created
Successfully created active directory record
{
"credentialId": "5fb352ed5b19360006d8fd93",
"defaultOU": "OU=Computers",
"description": "This is a test AD",
"dnsDomainName": "example.com",
"id": "0123456789",
"location": "US",
"name": "TestAD",
"orgId": "0123456789"
}
Record creation timestamp
The credential ID to be used with the credential service
Default OU (organizational unit) for adding VMs to the domain
Description for the AD
Directory DNS name
Unique record ID
location
Name that helps the customer identify the record
Org ID that owns this record
Record update timestamp
Record version (internal)
Errors
Bad Request
Unauthorized
Forbidden
Not Found
Code Samples
cURL Command
Vendor Extensions
x-codegen-request-body-name: createTO