Ana içeriğe geç

Delete IP Group

Endpoint

DELETE /apiops/projects/{projectName}/ipGroups/{ipGroupName}/

Authentication

Requires a Personal API Access Token.

Authorization: Bearer YOUR_TOKEN

Request

Headers

HeaderValueRequired
AuthorizationBearer {token}Yes

Path Parameters

ParameterTypeRequiredDescription
projectNamestringYesProject name
ipGroupNamestringYesIP Group name

Request Body

None.

Response

Success Response (200 OK)

{
"success": true
}

Error Response (400 Bad Request)

{
"error": "bad_request",
"error_description": "IP Group (AllowedIPs) is not found!"
}

cURL Example

curl -X DELETE \
"https://demo.apinizer.com/apiops/projects/MyProject/ipGroups/AllowedIPs/" \
-H "Authorization: Bearer YOUR_TOKEN"

Permissions

  • User must have GLOBAL_SETTINGS + MANAGE permission in the project

Notes and Warnings

  • Permanent Deletion:

    • IP Group is permanently deleted
    • This action cannot be undone
  • IP Addresses:

    • All IP addresses in the group are also removed
  • Policy References:

    • Policies using this IP Group may need to be updated
    • Check for policy references before deletion