This is the multi-page printable view of this section. Click here to print.
Update Hosted Zone
1 - 1.3
put /v1/hosted-zones/{hosted_zone_id}
Description
Update a hosted zone.
State ACTIVE (CURRENT)
| Version | Supported Until |
|---|---|
| 1.3 | - |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | hosted_zone_id required | Id Example : | string | None |
| body | body required | HostedZoneSetRequestV1Dot3 |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 202 | Accepted | HostedZoneShowResponseV1Dot3 |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
| 409 | Conflict | None |
Example HTTP request
Request path
/v1/hosted-zones/{hosted_zone_id}
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = dns 1.3"
Request body
{
"description": "This is description"
}
Example HTTP response
Response 202
{
"created_at": "2024-05-17T00:23:17Z",
"created_by": "90dddfc2b1e04edba54ba2b41539a9ac",
"description": "This is description",
"hosted_zone_type": "public",
"id": "3432012nfdksdf03ktrld9234lgfg",
"modified_at": "2024-05-17T00:23:17Z",
"modified_by": "90dddfc2b1e04edba54ba2b41539a9ac",
"name": "my-zone.com",
"pool_id": "10fjksdpooliddfsi12389esfdslkdsr32",
"private_dns_id": "10fjkewefprivatedns3193rud543",
"private_dns_name": "private-dns01",
"status": "CREATING",
"ttl": "3600"
}
2 - 1.2
put /v1/hosted-zones/{hosted_zone_id}
Description
Update a hosted zone.
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.2 | 20260331 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | hosted_zone_id required | Id Example : | string | None |
| body | body required | HostedZoneSetRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 202 | Accepted | HostedZoneShowResponseV1Dot2 |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
| 409 | Conflict | None |
Example HTTP request
Request path
/v1/hosted-zones/{hosted_zone_id}
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = dns 1.2"
Request body
{
"description": "",
"email": ""
}
Example HTTP response
Response 202
{
"action": "",
"attributes": "",
"created_at": "",
"description": "",
"email": "",
"hosted_zone_type": "",
"id": "",
"links": "",
"masters": [
""
],
"name": "",
"pool_id": "",
"private_dns_id": "",
"private_dns_name": "",
"project_id": "",
"serial": "",
"shared": "",
"status": "",
"transferred_at": "",
"ttl": "",
"type": "",
"updated_at": "",
"version": ""
}
3 - 1.1
put /v1/hosted-zones/{hosted_zone_id}
Description
Update a hosted zone
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.1 | 20260331 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | hosted_zone_id required | Id Example : | string | None |
| body | body required | HostedZoneSetRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 202 | Accepted | HostedZoneSetResponse |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/hosted-zones/{hosted_zone_id}
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = dns 1.1"
Request body
{
"description": "",
"email": ""
}
Example HTTP response
Response 202
{
"action": "",
"attributes": "",
"created_at": "",
"description": "",
"email": "",
"hosted_zone_type": "",
"id": "",
"links": "",
"masters": [
""
],
"name": "",
"pool_id": "",
"project_id": "",
"serial": "",
"shared": "",
"status": "",
"transferred_at": "",
"ttl": "",
"type": "",
"updated_at": "",
"version": ""
}
4 - 1.0
put /v1/hosted-zones/{hosted_zone_id}
Description
Update a hosted zone
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.0 | 20251231 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | hosted_zone_id required | Id Example : | string | None |
| body | body required | HostedZoneSetRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 202 | Accepted | HostedZoneSetResponse |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/hosted-zones/{hosted_zone_id}
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = dns 1.0"
Request body
{
"description": "",
"email": ""
}
Example HTTP response
Response 202
{
"action": "",
"attributes": "",
"created_at": "",
"description": "",
"email": "",
"hosted_zone_type": "",
"id": "",
"links": "",
"masters": [
""
],
"name": "",
"pool_id": "",
"project_id": "",
"serial": "",
"shared": "",
"status": "",
"transferred_at": "",
"ttl": "",
"type": "",
"updated_at": "",
"version": ""
}