Function
Delete a PTR record for an EIP by unsetting it to the default value.
The same URI is used to create, modify, and delete PTR records. Different request bodies are used to implement different functions.
URI
PATCH /v2/reverse/floatingips/{region}:{floatingip_id}
For details, see
Table 1.
Table 1 Parameters in the URIParameter
|
Mandatory
|
Type
|
Description
|
region
|
Yes
|
String
|
Region of the tenant.
|
floatingip_id
|
Yes
|
String
|
EIP ID
|
Request
- Parameter description
Table 2 Parameter in the requestParameter
|
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
}
Returned Value
If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.