Unsetting a PTR Record¶
Function¶
Delete a PTR record for an EIP by unsetting it to the default value.
URI¶
PATCH /v2/reverse/floatingips/{region}:{floatingip_id}
For details, see Table 1.
Parameter | Mandatory | Type | Description |
---|---|---|---|
region | Yes | String | Region of the tenant. |
floatingip_id | Yes | String | EIP ID |
Request¶
Parameter description
¶ 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.