Skip to main content

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

ParameterTypeRequiredDescription
idUUIDYesThe 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 CodeError CodeDescription
401UNAUTHORIZEDMissing or invalid JWT token
403FORBIDDENUser does not have admin privileges
404NOT_FOUNDStatic 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.