---
title: "Update instance restrictions"
method: PATCH
path: "/instance/restrictions"
tags: ["Instance Settings"]
---

# Update instance restrictions

`PATCH /instance/restrictions`

Updates the restriction settings of an instance

## Request body

- object
  - `allowlist` boolean, nullable
  - `blocklist` boolean, nullable
  - `allowlist_blocklist_disabled_on_sign_in` boolean, nullable
  - `block_email_subaddresses` boolean, nullable
  - `block_disposable_email_domains` boolean, nullable

## Response `200`

Success

- InstanceRestrictions
  - `object` 'instance_restrictions', required — String representing the object's type. Objects of the same type share the same value.
  - `allowlist` boolean, required
  - `blocklist` boolean, required
  - `allowlist_blocklist_disabled_on_sign_in` boolean, required
  - `block_email_subaddresses` boolean, required
  - `block_disposable_email_domains` boolean, required

## Other responses

- `402` — Payment required
- `422` — Invalid request parameters

---

[API](https://skmtc.net/clerk/apis/clerk-backend-api.md) · [All operations](https://skmtc.net/clerk/apis/clerk-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clerk/clerk-backend-api/versions/cf036e7951d3/schema)
