Delete Static IP Rule
Delete a static IP rule and automatically revoke the associated IP whitelist entries from all resources. This action cannot be undone.
Request
DELETE /static-ip-rules/{id}
Authentication
Requires an Admin Bearer JWT token.
Authorization: Bearer <access_token>
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | UUID | Yes | The unique identifier of the static IP rule to delete |
Response
Success Response
Status Code: 204 No Content
No response body is returned on successful deletion. The IP rules are revoked from all resources asynchronously.
Errors
| Status Code | Error Code | Description |
|---|---|---|
401 | UNAUTHORIZED | Missing or invalid JWT token |
403 | FORBIDDEN | User does not have admin privileges |
404 | NOT_FOUND | Static IP rule with the specified ID does not exist or does not belong to your organization |
Example
Request
curl -X DELETE https://api.entryguard.io/api/v1/static-ip-rules/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Response
HTTP/1.1 204 No Content
Notes
- Deletion of a static IP rule triggers asynchronous revocation of the IP whitelist entries from all associated resources.
- The revocation process typically completes within seconds, but may take longer depending on the number of resources and cloud provider API response times.
- The deletion is logged in the audit trail with the event type
STATIC_IP_RULE_DELETED. - If you need to temporarily disable a rule without deleting it, consider creating a new rule without the problematic IP address instead.