domains - secondary

Creates a new secondary domain.

This endpoint creates a new secondary 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 secondary domain in-line with the appropriate schema, ensuring smooth and efficient organization.

post/domains/secondary

Request

Request body

namestring
resourceGroupsinteger[]

Example request

{
  "name": "example.com",
  "tsigKeyConfig": [
    {
      "ipSetId": 1,
      "tsigKeyId": 1
    }
  ]
}

Response

Secondary domain created successfully.

idinteger
namestring
typestring
createdTsstring
modifiedTsstring
statusstring
resourceGroupsinteger[]

Example response

{
  "id": 1,
  "name": "example.com",
  "type": "SECONDARY",
  "createdTs": "2024-10-03T22:00:00.000+00:00",
  "modifiedTs": "2024-10-03T22:00:00.000+00:00",
  "tsigKeyConfig": [
    {
      "ipSetId": 1,
      "tsigKeyId": 1
    }
  ],
  "status": "ACTIVE"
}

Changes

No recorded changes to this operation across all 1 revision of this API.