Overview
You can call this API to delete an IP allowlist group.
API details
Constraints
The caller must have an AccessKey for accessing APIs of multiple clouds. For information about how to obtain the AccessKey ID and AccessKey secret, see Manage AccessKeys.
Request path
POST /api/v2/instances/{instanceId}/securityIpGroups
Request parameters
Path
| Parameter | Type | Required | Description | Example value |
|---|---|---|---|---|
| instanceId | String | Yes | The ID of the instance. | obxxx |
Body
| Parameter | Type | Required | Description | Example value |
|---|---|---|---|---|
| securityIpGroupName | String | Yes | The name of the IP allowlist group. The name must be 2 to 32 characters in length, start with a lowercase letter, and end with a lowercase letter or a digit. It can contain only lowercase letters, digits, and underscores. | all |
Response parameters
| Parameter | Type | Description | Example value |
|---|---|---|---|
| instanceId | String | The ID of the instance. | obxxx |
| securityIpGroupName | String | The name of the IP allowlist group. | all |
Examples
Request example
curl --digest -u 'ak:sk' \
--request DELETE \
https://api-cloud.oceanbase.com/api/v2/instances/{instanceId}/securityIpGroups \
--data '{
"securityIpGroupName":"all"、
}'
Response example
JSON format
{
"data":{
"instanceId":"obxxx",
"securityIpGroupName":"all"
},
"requestId":"f755e6ed-b53a-4d95-9948-15a0a7183e32",
"success":true
}