domains - secondary

Updates a specific secondary domain.

This endpoint updates a specific secondary domain, allowing users to quickly make changes without impacting other domains.</br></br>Key features include:</br></br>- Clear success messaging: Returns a 200 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns a 404 error code with a clear description when requests fail.</br>- Reliable updates: Facilitates the modification of a specific secondary domain, ensuring accurate and up-to-date information across the system.</br>- Targeted data retrieval: Leverages the domainId parameter in the URL path to update the specified domain, ensuring accurate and focused modifications.

put/domains/secondary/{domainId}

Request

Path parameters

domainIdinteger required

Filters data by the domain's unique identifier.

Request body

namestring
resourceGroupsinteger[]

Example request

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

Response

Secondary domain updated 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.