domains - primary

Provisions multiple primary domains in bulk.

This endpoint provisions multiple primary domains simultaneously, simplifying domain creation for users managing several domains.</br></br>Key features include:</br></br>- Bulk provisioning support: Enables the provisioning of multiple primary domains in a single request, simplifying and accelerating bulk management processes.</br>- Clear success messaging: Returns 201 success codes with confirmation messages indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns a 400 error code with a clear description when requests fail.

post/domains/primary/bulk

Request

Request body

namesstring[]
gtdboolean
resourceGroupsinteger[]

Example request

{
  "names": [
    "example.com"
  ],
  "gtd": true,
  "tsigKeyConfig": [
    {
      "ipSetId": 1,
      "tsigKeyId": 1
    }
  ]
}

Response

Primary domains provisioned successfully.

idinteger
namestring
typestring
soaIdinteger
nameserverSetIdinteger
gtdboolean
createdTsstring
modifiedTsstring
resourceGroupsinteger[]
valimailboolean

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.