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}
Request
- Base URLhttps://api.sotoon.ir (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
workspaceUUIDstring required
UUID of the workspace
resourceIdstring required
Resource ID
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 domainzone was successfully updated. 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 operation across all 6 revisions of this API.