domains - primary
Creates a new primary domain.
This endpoint creates a new primary domain, allowing users to define and configure it within the system.</br></br>Key features include:</br></br>- Clear success messaging: Returns a 201 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns a 400 error code with a clear description when requests fail.</br>- Seamless domain creation: Facilitates the creation of a primary domain in-line with the appropriate schema, ensuring smooth and efficient organization.
post/domains/primary
Request
- Base URLhttps://manager.digicertdns.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "example.com",
"soaId": 1,
"gtd": true,
"tsigKeyConfig": [
{
"ipSetId": 1,
"tsigKeyId": 1
}
],
"nameserverSetId": 1,
"valiMail": {
"enabled": true,
"policy": "NONE",
"additionalRua": "mailto:test@test.com"
}
}Response
Primary domain created successfully.
Example response
{
"id": 1,
"name": "example.com",
"type": "PRIMARY",
"soaId": 1,
"nameserverSetId": 1,
"gtd": true,
"createdTs": "2024-10-03T22:00:00.000+00:00",
"modifiedTs": "2024-10-03T22:00:00.000+00:00",
"tsigKeyConfig": [
{
"ipSetId": 1,
"tsigKeyId": 1
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.