CDN and DNS (v2.1)

Update DomainZone

Updates an existing DomainZone object in the specified workspace with the provided configuration.

put/delivery/v2.1/global/workspaces/{workspaceUUID}/domainzones/{resourceId}

Path parameters

workspaceUUIDstring required

UUID of the workspace

resourceIdstring required

Resource ID

Request body

apiVersion'delivery/v2' | 'delivery/v2.1' required

Version identifier of the API schema

kind'DomainZone' required

The string value 'DomainZone' that identifies the schema

Example request

{
  "apiVersion": "delivery/v2",
  "kind": "DomainZone",
  "metadata": {
    "uid": "00000000-0000-0000-0000-000000000000"
  },
  "spec": {
    "email": "info@example.com",
    "origin": "example.com",
    "wsid": "4f47fa2b-e72b-4f78-b3b5-c1e1d50b30a7"
  }
}

Response

The domainzone was successfully updated. The response contains the complete domainzone details including the assigned unique identifier.

apiVersion'delivery/v2' | 'delivery/v2.1' required

Version identifier of the API schema

kind'DomainZone' required

The string value 'DomainZone' that identifies the schema

Example response

{
  "apiVersion": "delivery/v2",
  "kind": "DomainZone",
  "metadata": {
    "uid": "00000000-0000-0000-0000-000000000000"
  },
  "spec": {
    "email": "info@example.com",
    "origin": "example.com",
    "wsid": "4f47fa2b-e72b-4f78-b3b5-c1e1d50b30a7"
  }
}

Changes

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