Update Clerk instance settings

Update core settings for a connected Clerk application instance.

← All Clerk endpoints · Capability overview

PATCH/v1/clerk/instance-settings

https://api.vee3.io/v1/clerk/instance-settings

8 tokens

Update core settings for a connected Clerk application instance.

Authorization

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

MCP

The same capability is available as an MCP tool on Vee3 hosted MCP.

Tool name

clerk.update_instance_settings
Parameters9 fields
clerk_instance_idstringOptional

Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.

test_modebooleanOptional

Whether the instance should run in test mode.

hibpbooleanOptional

Whether Have I Been Pwned password checking should be enabled.

support_emailstringOptional

Support email address shown to end users.

clerk_js_versionstringOptional

Pinned Clerk.js version for the instance.

development_originstringOptional

Development origin URL for local testing.

allowed_originsarrayOptional

Allowed browser origins for the instance.

url_based_session_syncingbooleanOptional

Whether URL-based session syncing should be enabled.

preferred_sign_in_strategy_when_password_requiredstringOptional

Preferred sign-in strategy when a password is required: "password" or "otp".

Response12 fields
instance_settingsobject
11 fields

Updated Clerk instance settings from the Backend API.

objectstring

Clerk object type for the instance.

idstring

Clerk instance id (ins_...).

environment_typestring

Instance environment type (development or production).

allowed_originsstring[]

Allowed browser origins for the instance.

test_modeboolean

Whether the instance is in test mode.

hibpboolean

Whether Have I Been Pwned password checking is enabled.

support_emailstring

Support email address shown to end users.

clerk_js_versionstring

Pinned Clerk.js version for the instance, when set.

development_originstring

Development origin URL for local testing.

url_based_session_syncingboolean

Whether URL-based session syncing is enabled.

preferred_sign_in_strategy_when_password_requiredstring

Preferred sign-in strategy when a password is required: "password" or "otp".

HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required