Deleting PTR Records
Function
This API is used to delete PTR records in batches. This is an atomic operation. All PTR records are either deleted completely or not deleted at all.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
dns:ptr:delete
Write
ptr *
-
g:ResourceTag/<tag-key>
-
g:EnterpriseProjectId
- dns:ptr:set
-
-
URI
DELETE /v2.1/reverse/floatingips
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
floatingip_ids |
No |
Array of strings |
ID list of PTR records to be deleted. You can specify a maximum of 50 IDs. |
Response Parameters
Status code: 202
Request accepted
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
String |
Definition Error code Range N/A |
|
message |
String |
Definition Error description Range N/A |
Status code: 500
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
String |
Definition Error code Range N/A |
|
message |
String |
Definition Error description Range N/A |
Example Requests
Deleting PTR records
DELETE https://{endpoint}/v2.1/reverse/floatingips
{
"floatingip_ids" : [ "region-1:2c9eb155587194ec01587224c9f90149", "region-1:2c9eb155587194ec01587224c9f90150" ]
}
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
202 |
Request accepted |
|
400 |
Error response |
|
500 |
Error response |
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.