Updates the settings of an instance
test_mode | boolean or null Toggles test mode for this instance, allowing the use of test email addresses and phone numbers. Defaults to true for development instances. |
hibp | boolean or null Whether the instance should be using the HIBP service to check passwords for breaches |
enhanced_email_deliverability | boolean or null The "enhanced_email_deliverability" feature will send emails from "verifications@clerk.dev" instead of your domain. This can be helpful if you do not have a high domain reputation. |
support_email | string or null |
clerk_js_version | string or null |
development_origin | string or null |
experimental_allowed_origins | Array of strings Deprecated |
allowed_origins | Array of strings |
cookieless_dev | boolean Deprecated Whether the instance should operate in cookieless development mode (i.e. without third-party cookies).
Deprecated: Please use |
url_based_session_syncing | boolean Whether the instance should use URL-based session syncing in development mode (i.e. without third-party cookies). |
Accepted
Invalid request parameters
{- "test_mode": true,
- "hibp": true,
- "enhanced_email_deliverability": true,
- "support_email": "string",
- "clerk_js_version": "string",
- "development_origin": "string",
- "experimental_allowed_origins": [
- "string"
], - "allowed_origins": [
- "string"
], - "cookieless_dev": true,
- "url_based_session_syncing": true
}
{- "errors": [
- {
- "message": "string",
- "long_message": "string",
- "code": "string",
- "meta": { },
- "clerk_trace_id": "string"
}
], - "meta": { }
}
Updates the restriction settings of an instance
Success
Payment required
{- "allowlist": true,
- "blocklist": true
}
{- "object": "instance_restrictions",
- "allowlist": true,
- "blocklist": true
}
Updates the organization settings of the instance
Success
Invalid request parameters
{- "enabled": true,
- "max_allowed_memberships": 0
}
{- "object": "organization_settings",
- "enabled": true,
- "max_allowed_memberships": 0
}