# IP restrictions ## Create or update IP restriction configuration (ALLOW/BLOCK) - [POST /resources/configurations/v1/restrictions/ip/config](https://developers.frontegg.com/ciam/api/identity/ip-restrictions/iprestrictionscontrollerv1_createdomainrestriction.md): Create or update the IP restriction configuration. You can configure IP restrictions as either ALLOW or BLOCK. ## Get IP restriction configuration (ALLOW/BLOCK) - [GET /resources/configurations/v1/restrictions/ip/config](https://developers.frontegg.com/ciam/api/identity/ip-restrictions/iprestrictionscontrollerv1_getiprestrictionconfig.md): Retrieve the IP restriction configuration for an account (tenant). The configuration defines whether IP restrictions are set to ALLOW or BLOCK. ## Get all IP restrictions - [GET /resources/configurations/v1/restrictions/ip](https://developers.frontegg.com/ciam/api/identity/ip-restrictions/iprestrictionscontrollerv1_getalliprestrictions.md): Retrieve the IP restrictions for an account (tenant). ## Create IP restriction - [POST /resources/configurations/v1/restrictions/ip](https://developers.frontegg.com/ciam/api/identity/ip-restrictions/iprestrictionscontrollerv1_createiprestriction.md): Create or update an IP restriction for an account (tenant). Provide the required values as objects in the request body. Refer to the parameter documentation for the list of supported values. ## Test Current IP - [POST /resources/configurations/v1/restrictions/ip/verify](https://developers.frontegg.com/ciam/api/identity/ip-restrictions/iprestrictionscontrollerv1_testcurrentip.md): Check if the current IP is allowed based on the IP restriction configuration. ## Test current IP is in allow list - [POST /resources/configurations/v1/restrictions/ip/verify/allow](https://developers.frontegg.com/ciam/api/identity/ip-restrictions/testcurrentipinallowlist.md): Verifies if the current IP address is in the allow list for your environment. ## Delete IP restriction by IP - [DELETE /resources/configurations/v1/restrictions/ip/{id}](https://developers.frontegg.com/ciam/api/identity/ip-restrictions/iprestrictionscontrollerv1_deleteiprestrictionbyid.md): Delete an IP restriction. Provide the IP restriction ID as a path parameter.