Updated on 2022-01-25 GMT+08:00

Unsetting a PTR Record

Function

Unset the PTR record to the default value.

URI

PATCH /v2/reverse/floatingips/{region}:{floatingip_id}

For details, see Table 1.
Table 1 Parameters in the URI

Parameter

Mandatory

Type

Description

region

Yes

String

Region of the tenant.

floatingip_id

Yes

String

EIP ID

Request

  • Parameter description
    Table 2 Parameter in the request

    Parameter

    Mandatory

    Type

    Description

    ptrdname

    Yes

    String

    Domain name of the PTR record

    Set it to null in the request.

  • Example request
    Unset the PTR record whose EIP ID is c5504932-bf23-4171-b655-b87a6bc59334 to the default value:
    PATCH https://{DNS_Endpoint}/v2/reverse/floatingips/region_id:c5504932-bf23-4171-b655-b87a6bc59334
    {
        "ptrdname": null
    }

Response

None

Returned Value

If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.

For details, see Status Code.