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 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 the API call returns a code of 2xx, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.