# Domain restrictions ## Create domain restriction - [POST /resources/configurations/restrictions/v1/email-domain](https://developers.frontegg.com/ciam/api/identity/domain-restrictions/domainrestrictionscontroller_createdomainrestriction.md): Creates a new email domain restriction for an account (tenant). Provide the restriction configuration in the request body. See the schema below for available parameters and values. ## Get domain restrictions - [GET /resources/configurations/restrictions/v1/email-domain](https://developers.frontegg.com/ciam/api/identity/domain-restrictions/domainrestrictionscontroller_getdomainrestrictions.md): Retrieve the domain restrictions for an account (tenant). ## Get domain restrictions - [GET /resources/configurations/restrictions/v1/email-domain/config](https://developers.frontegg.com/ciam/api/identity/domain-restrictions/domainrestrictionscontroller_getdomainrestrictionsconfig.md): Retrieve the domain restrictions for an account (tenant). ## Change domain restrictions config list type and toggle it off/on - [POST /resources/configurations/restrictions/v1/email-domain/config](https://developers.frontegg.com/ciam/api/identity/domain-restrictions/domainrestrictionscontroller_updatedomainrestrictionsconfig.md): Update the domain restrictions configuration. You can toggle the domain restriction check on or off. ## Delete domain restriction - [DELETE /resources/configurations/restrictions/v1/email-domain/{id}](https://developers.frontegg.com/ciam/api/identity/domain-restrictions/domainrestrictionscontroller_deletedomainrestriction.md): Delete a domain restriction. ## Replace bulk domain restriction - [POST /resources/configurations/restrictions/v1/email-domain/replace-bulk](https://developers.frontegg.com/ciam/api/identity/domain-restrictions/domainrestrictionscontroller_createbulkdomainsrestriction.md): Replace all domain restrictions with the domains provided in the request body.