Restoring the PTR Record of an EIP to the Default Value
Function
This API is used to restore the PTR record of an 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 |
EIP ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Definition The user token. The token can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. For details about how to obtain a user token, seeObtaining a User Token. Constraints N/A Range N/A Default Value N/A |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
ptrdname |
Yes |
Object |
The zone of the PTR record. Set it to null. |
Response Parameters
Status code: 202
Request accepted
None
Example Requests
Restoring the PTR record of an EIP to the default value
PATCH https://{endpoint}/v2/reverse/floatingips/{region}:{floatingip_id} { "ptrdname" : null }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
202 |
Request accepted |
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.