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",
"dnsDomainName": "example.com",
"joinPassword": "secret",
"joinUsername": "user",
"netBIOSName": "EXAMPLE",
"orgId": "0123456789",
"primaryDNS": "127.0.0.1",
"secondaryDNS": "127.0.0.2"
}
Default OU (organizational unit) for adding VMs to the domain
Directory DNS name
Password for joining new VMs to the domain
Username for joining new VMs to the domain
Directory NETBIOS name
Org ID that owns this record
Primary DNS server
Secondary DNS server
Authentication
Response
Response BodyResponse Body
Successfully created active directory record
{
"createdAt": "string",
"credentialId": "5fb352ed5b19360006d8fd93",
"defaultOU": "OU=Computers",
"dnsDomainName": "example.com",
"id": "0123456789",
"joinUsername": "user",
"location": "US",
"netBIOSName": "EXAMPLE",
"orgId": "0123456789",
"primaryDNS": "127.0.0.1",
"secondaryDNS": "127.0.0.2",
"updatedAt": "string",
"version": 0
}
Record creation timestamp
The credential ID to be used with the credential service
Default OU (organizational unit) for adding VMs to the domain
Directory DNS name
Unique record ID
Username for joining new VMs to the domain
location
Directory NETBIOS name
Org ID that owns this record
Primary DNS server
Secondary DNS server
Record update timestamp
Record version (internal)
Errors
Code Samples
Code Samples
cURL Command
Vendor Extensions
x-codegen-request-body-name: activeDirectory