Deletes a specified global IP whitelist under a specified instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rocketmq:DeleteInstanceIpWhitelist |
delete |
*Instance
|
None | None |
Request syntax
DELETE /instances/{instanceId}/ip/whitelist HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
rmq-cn-7e22ody**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
ipWhitelist
deprecated
|
string |
No |
The IP whitelist. |
0.0.0.0/0 |
| ipWhitelists |
array |
No |
The list of IP whitelists. |
|
|
string |
No |
The IP whitelist. |
0.0.0.0/0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Result |
||
| requestId |
string |
The request ID. |
16425867-C948-5A0C-9A24-5259727BE727 |
| success |
boolean |
Indicates whether the request is successful. |
true |
| data |
boolean |
The returned result. |
true |
| code |
string |
The error code. |
MissingInstanceId |
| message |
string |
The error message. |
Parameter instanceId is mandatory for this action . |
| httpStatusCode |
integer |
The HTTP status code. |
200 |
| dynamicCode |
string |
The dynamic error code. |
InstanceId |
| dynamicMessage |
string |
The dynamic error message. |
InstanceId |
| accessDeniedDetail |
string |
The details of the access denial. This parameter is returned only when the user is denied access due to lack of RAM permissions. |
xxx |
Examples
Success response
JSON format
{
"requestId": "16425867-C948-5A0C-9A24-5259727BE727",
"success": true,
"data": true,
"code": "MissingInstanceId",
"message": "Parameter instanceId is mandatory for this action .",
"httpStatusCode": 200,
"dynamicCode": "InstanceId",
"dynamicMessage": "InstanceId",
"accessDeniedDetail": "xxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.