CDN and DNS (v2.1)
Create DomainZone
Creates a new DomainZone object in the specified workspace with the provided configuration. The request must include CDN specifications like name, type, and other configuration details.
post/delivery/v2.1/global/workspaces/{workspaceUUID}/domainzones
Path parameters
workspaceUUIDstring required
UUID of the workspace
Request body
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 cdn was successfully created and is being provisioned. The response contains the complete domainzone details including the assigned unique identifier.
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.