Restoring the PTR Record of the EIP to the Default Value
Function
This API is used to restore the PTR record of the EIP to the default value.
Calling Method
For details, see Calling APIs.
URI
PATCH /v2/reverse/floatingips/{region}:{floatingip_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
region |
Yes |
String |
Region of the zone |
floatingip_id |
Yes |
String |
ID of the PTR record to be deleted |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
ptrdname |
Yes |
Object |
Domain name of the PTR record. Set it to null in the request. |
Response Parameters
None
Example Requests
Restoring the PTR record of the EIP to the default value
PATCH https://{endpoint}/v2/reverse/floatingips/{region}:{floatingip_id} { "ptrdname" : null }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
Response to the request for restoring the PTR record of an EIP to the default value |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.