Updated on 2025-08-19 GMT+08:00

Disabling DNSSEC

Function

This API is used to disable DNSSEC for a public zone.

Calling Method

For details, see Calling APIs.

URI

POST /v2/zones/{zone_id}/disable-dnssec

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

zone_id

Yes

String

Public zone ID

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Definition

The user token.

The token can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token.

For details about how to obtain a user token, seeObtaining a User Token.

Constraints

N/A

Range

N/A

Default Value

N/A

Response Parameters

Status code: 202

Table 3 Response body parameters

Parameter

Type

Description

status

String

Status.

Value options:

DISABLE: DNSSEC is disabled.

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

code

String

Definition

Error code

Range

N/A

message

String

Definition

Error description

Range

N/A

Status code: 500

Table 5 Response body parameters

Parameter

Type

Description

code

String

Definition

Error code

Range

N/A

message

String

Definition

Error description

Range

N/A

Example Requests

None

Example Responses

Status code: 202

Request accepted

{
  "status" : "DISABLE"
}

Status Codes

Status Code

Description

202

Request accepted

400

Bad Request

500

Internal Server Error

Error Codes

See Error Codes.