- Additive
Request property revoke_oauth_grants_on_password_change added
No action needed unless it is required.
PATCH /instance/oauth_application_settings · revoke_oauth_grants_on_password_change
APIs / Clerk
Clerk API changes
Breaking changes, deprecations and new fields in the Clerk API, as they ship.
- Behavioral
409 is now documented on /organizations/{organization_id}
An unhandled branch in your error handling.
DELETE /organizations/{organization_id} - Additive
Request property revoke_oauth_grants_on_session_end added
No action needed unless it is required.
PATCH /instance/oauth_application_settings · revoke_oauth_grants_on_session_end
- Behavioral
422 is now documented on /oauth_applications/{oauth_application_id}/logo
An unhandled branch in your error handling.
PUT /oauth_applications/{oauth_application_id}/logo · 3 call sites - Additive
client_id_metadata_document is now optional
No action needed.
GET /oauth_applications · client_id_metadata_document
2 new request properties
- reset_device_trust
- client_id_metadata_document_url
- Additive
metadata is now optional
No action needed.
GET /users · metadata - Additive
pagination is now optional
GET /users · pagination - Additive
ending_before is now optional
GET /users · ending_before - Additive
remaining_count is now optional
GET /users · remaining_count - Additive
Request property reset_client_trust added
No action needed unless it is required.
PATCH /users/{user_id} · reset_client_trust
- Behavioral
429 is now documented on /users/{user_id}/verify_password
An unhandled branch in your error handling.
POST /users/{user_id}/verify_password · 2 call sites - Behavioral
404 is now documented on /logs/groups/{group_id}/events
An unhandled branch in your error handling.
GET /logs/groups/{group_id}/events - Behavioral
403 is now documented on /users
An unhandled branch in your error handling.
GET /users - Behavioral
503 is now documented on /users
GET /users - Additive
/clients/{client_id}/revoke added
No action needed.
/clients/{client_id}/revoke - Additive
/directories/{directory_id}/groups added
No action needed.
/directories/{directory_id}/groups - Additive
/logs/types added
No action needed.
/logs/types
3 new request properties
- actor.type
- session_organization_id
- session_restricted
- Behavioral
403 is now documented on /sessions/{session_id}/refresh
An unhandled branch in your error handling.
POST /sessions/{session_id}/refresh · 5 call sites - Behavioral
503 is now documented on /logs/groups/{group_id}/events
An unhandled branch in your error handling.
GET /logs/groups/{group_id}/events · 2 call sites - Behavioral
422 is now documented on /sessions/{session_id}/revoke
An unhandled branch in your error handling.
POST /sessions/{session_id}/revoke - Behavioral
409 is now documented on /users/{user_id}/oauth_access_tokens/{provider}
An unhandled branch in your error handling.
GET /users/{user_id}/oauth_access_tokens/{provider} - Additive
PATCH /sessions/{session_id} added
No action needed.
PATCH /sessions/{session_id} - Additive
email_address is now optional
No action needed.
GET /invitations · email_address - Additive
Request property honor_lockout added
No action needed unless it is required.
POST /phone_numbers/{phone_number_id}/attempt_verification · honor_lockout · 5 call sites
- Behavioral
429 is now documented on /organizations/{organization_id}/invitations
An unhandled branch in your error handling.
POST /organizations/{organization_id}/invitations · 2 call sites - Additive
/logs added
No action needed.
/logs - Additive
/logs/groups/{group_id}/events added
No action needed.
/logs/groups/{group_id}/events - Additive
/logs/schemas added
No action needed.
/logs/schemas - Additive
/logs/{event_time_and_id} added
No action needed.
/logs/{event_time_and_id} - Additive
Request property self_serve_directory_sync_enabled added
No action needed unless it is required.
PATCH /organizations/{organization_id} · self_serve_directory_sync_enabled
2 new response fields
- Organization.self_serve_directory_sync_enabled
- OrganizationMembership.organization.self_serve_directory_sync_enabled
- Breaking
Response field self_serve_directory_sync_enabled removed
Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.
2 places: Organization.self_serve_directory_sync_enabled, OrganizationMembership.organization.self_serve_directory_sync_enabledCode that breaks
// response.self_serve_directory_sync_enabled is now undefined const self_serve_directory_sync_enabled = response.self_serve_directory_sync_enabled;
- Breakingdirection flip: their tools call this safe
self_serve_directory_sync_enabled is no longer accepted
Usually ignored rather than rejected, so the call succeeds and does something subtly different.
PATCH /organizations/{organization_id} · self_serve_directory_sync_enabledCode that breaks
await client.post("/organizations/{organization_id}", { // self_serve_directory_sync_enabled is now ignored, not rejected self_serve_directory_sync_enabled: value, }); - Additive
/directories/{directory_id}/groups/{group_id} added
No action needed.
/directories/{directory_id}/groups/{group_id} - Additive
/directories/{directory_id}/groups/{group_id}/members added
No action needed.
/directories/{directory_id}/groups/{group_id}/members - Additive
/users/{user_id}/merge added
No action needed.
/users/{user_id}/merge - Additive
Request property paused added
No action needed unless it is required.
PATCH /directories/{directory_id} · paused · 2 call sites
- Breakingdirection flip: their tools call this safe
specter_enabled is no longer accepted
Usually ignored rather than rejected, so the call succeeds and does something subtly different.
PATCH /instance/protect · specter_enabledCode that breaks
await client.post("/instance/protect", { // specter_enabled is now ignored, not rejected specter_enabled: value, }); - Behavioral
429 is now documented on /email_addresses/{email_address_id}/prepare_verification
An unhandled branch in your error handling.
POST /email_addresses/{email_address_id}/prepare_verification
7 new request properties
- adopt_audience_resource
- audience_uri
- token_exchange_enabled
- aud_claim_refresh_backfill_enabled
- dynamic_client_allowed_scopes
- self_serve_directory_sync_enabled
- second_factor_verification
- Behavioral
403 is now documented on /beta_features/domain
An unhandled branch in your error handling.
PUT /beta_features/domain · 4 call sites - Additive
/invitations/{invitation_id} added
No action needed.
/invitations/{invitation_id} - Additive
/sso_bypass_allowlist_users added
No action needed.
/sso_bypass_allowlist_users - Additive
/sso_bypass_allowlist_users/{userID} added
No action needed.
/sso_bypass_allowlist_users/{userID}
4 new request properties
- idp_certificates
- saml.idp_certificates
- timezone
- reassignment_mappings
- Behavioral
429 is now documented on /phone_numbers/{phone_number_id}/attempt_verification
An unhandled branch in your error handling.
POST /phone_numbers/{phone_number_id}/attempt_verification - Behavioral
422 is now documented on /phone_numbers/{phone_number_id}/attempt_verification
POST /phone_numbers/{phone_number_id}/attempt_verification - Additive
Value restriction lifted
A relaxation, not a break. Everything you could send before still works, and more is accepted now.
POST /domains · is_satellite - Additive
/sessions/{session_id}/reverifications/{reverification_id} added
No action needed.
/sessions/{session_id}/reverifications/{reverification_id}
- Deprecation
DELETE /users/{user_id}/trusted_devices/{trusted_device_id} deprecated
Still works today. This is the earliest warning you will get before it is removed.
DELETE /users/{user_id}/trusted_devices/{trusted_device_id} - Deprecation
GET /users/{user_id}/trusted_devices deprecated
Still works today. This is the earliest warning you will get before it is removed.
GET /users/{user_id}/trusted_devices - Behavioral
422 is now documented on /directories/{directory_id}/rotate_api_key
An unhandled branch in your error handling.
POST /directories/{directory_id}/rotate_api_key · 2 call sites - Behavioral
403 is now documented on /actor_tokens
An unhandled branch in your error handling.
POST /actor_tokens - Additive
/users/{user_id}/biometric_credentials/{biometric_credential_id} added
No action needed.
/users/{user_id}/biometric_credentials/{biometric_credential_id} - Additive
/users/{user_id}/biometric_credentials added
No action needed.
/users/{user_id}/biometric_credentials - Additive
Request field now accepts null
A relaxation. Existing payloads are unaffected.
PATCH /instance · allowed_origins
7 new request properties
- device_authorization_grant_enabled
- aud_claim_enabled
- allowed_subdomains
- pkce_required
- subdomain_allowlist_enabled
- skip_restriction_checks
- self_serve_sso_enabled
- Additive
/billing/subscription_items/{subscription_item_id}/discounts added
No action needed.
/billing/subscription_items/{subscription_item_id}/discounts - Additive
/billing/subscription_items/{subscription_item_id}/discounts/{discount_id} added
No action needed.
/billing/subscription_items/{subscription_item_id}/discounts/{discount_id}
- Additive
/directories/{directory_id} added
No action needed.
/directories/{directory_id} - Additive
/directories/{directory_id}/group_role_mappings added
No action needed.
/directories/{directory_id}/group_role_mappings - Additive
starting_after is now optional
No action needed.
GET /users · starting_after - Additive
/directories added
No action needed.
/directories - Additive
/directories/{directory_id}/rotate_api_key added
No action needed.
/directories/{directory_id}/rotate_api_key - Additive
/directories/{directory_id}/group_role_mappings/{mapping_id} added
No action needed.
/directories/{directory_id}/group_role_mappings/{mapping_id} - Additive
Request property directory_path added
No action needed unless it is required.
POST /enterprise_connections · custom_attributes[].directory_path · 2 call sites
- Additive
/users/{user_id}/remove_password added
No action needed.
/users/{user_id}/remove_password - Additive
/users/{user_id}/trusted_devices added
No action needed.
/users/{user_id}/trusted_devices - Additive
/users/{user_id}/trusted_devices/{trusted_device_id} added
No action needed.
/users/{user_id}/trusted_devices/{trusted_device_id}
- Behavioral
429 is now documented on /templates/{template_type}/{slug}
An unhandled branch in your error handling.
PUT /templates/{template_type}/{slug} · 2 call sites - Behavioral
423 is now documented on /templates/{template_type}/{slug}
PUT /templates/{template_type}/{slug} · 2 call sites - Behavioral
403 is now documented on /sign_in_tokens
An unhandled branch in your error handling.
POST /sign_in_tokens
8 new request properties
- notify_primary_email_address_changed
- saml.login_hint
- login_hint
- client_id_metadata_documents_advertised
- client_id_metadata_documents_block_implicitly_allowed_clients
- client_id_metadata_documents_only_allow_pre_registered_clients
- default_scopes
- org_id
- Additive
POST /scim_directories added
No action needed.
POST /scim_directories - Additive
GET /scim_directories/{scim_directory_id} added
No action needed.
GET /scim_directories/{scim_directory_id} - Additive
DELETE /scim_directories/{scim_directory_id} added
No action needed.
DELETE /scim_directories/{scim_directory_id} - Additive
GET /scim_directories added
No action needed.
GET /scim_directories - Additive
PATCH /scim_directories/{scim_directory_id} added
No action needed.
PATCH /scim_directories/{scim_directory_id} - Additive
/scim_directories/{scim_directory_id}/rotate_api_key added
No action needed.
/scim_directories/{scim_directory_id}/rotate_api_key - Additive
PUT /scim_directories/{scim_directory_id}/group_role_mappings added
No action needed.
PUT /scim_directories/{scim_directory_id}/group_role_mappings - Additive
POST /scim_directories/{scim_directory_id}/group_role_mappings added
No action needed.
POST /scim_directories/{scim_directory_id}/group_role_mappings
- Additive
GET /scim_directories/{scim_directory_id}/group_role_mappings added
No action needed.
GET /scim_directories/{scim_directory_id}/group_role_mappings - Additive
DELETE /scim_directories/{scim_directory_id}/group_role_mappings/{mapping_id} added
No action needed.
DELETE /scim_directories/{scim_directory_id}/group_role_mappings/{mapping_id}
- Additive
/scim_directories/{scim_directory_id}/group_role_mappings/{mapping_id} added
No action needed.
/scim_directories/{scim_directory_id}/group_role_mappings/{mapping_id} - Additive
/scim_directories/{scim_directory_id}/group_role_mappings added
No action needed.
/scim_directories/{scim_directory_id}/group_role_mappings
- Additive
/oauth_applications/{oauth_application_id}/revoke_token added
No action needed.
/oauth_applications/{oauth_application_id}/revoke_token
- Behavioral
403 is now documented on /organizations/{organization_id}/domains/{domain_id}
An unhandled branch in your error handling.
DELETE /organizations/{organization_id}/domains/{domain_id} · 2 call sites
- Breakingdirection flip: their tools call this safe
private_metadata is no longer accepted
Usually ignored rather than rejected, so the call succeeds and does something subtly different.
PATCH /organizations/{organization_id} · private_metadataCode that breaks
await client.post("/organizations/{organization_id}", { // private_metadata is now ignored, not rejected private_metadata: value, }); - Breakingdirection flip: their tools call this safe
public_metadata is no longer accepted
Usually ignored rather than rejected, so the call succeeds and does something subtly different.
PATCH /organizations/{organization_id} · public_metadataCode that breaks
await client.post("/organizations/{organization_id}", { // public_metadata is now ignored, not rejected public_metadata: value, }); - Additive
PUT /organizations/{organization_id}/metadata added
No action needed.
PUT /organizations/{organization_id}/metadata
- Additive
Request property multi_valued added
No action needed unless it is required.
POST /enterprise_connections · custom_attributes[].multi_valued · 2 call sites
- Breakingdirection flip: their tools call this safe
application_name is no longer accepted
No error is raised. The value is ignored and your results change silently, which is the hardest class of break to notice.
GET /public/interstitial · application_nameCode that breaks
await client.post("/public/interstitial", { // application_name is now ignored, not rejected application_name: value, }); - Breakingdirection flip: their tools call this safe
flow is no longer accepted
No error is raised. The value is ignored and your results change silently, which is the hardest class of break to notice.
GET /public/interstitial · flowCode that breaks
await client.post("/public/interstitial", { // flow is now ignored, not rejected flow: value, }); - Breakingdirection flip: their tools call this safe
logo_url is no longer accepted
No error is raised. The value is ignored and your results change silently, which is the hardest class of break to notice.
GET /public/interstitial · logo_urlCode that breaks
await client.post("/public/interstitial", { // logo_url is now ignored, not rejected logo_url: value, }); - Behavioral
403 is now documented on /instance/organization_settings
An unhandled branch in your error handling.
PATCH /instance/organization_settings - Additive
/email_addresses/{email_address_id}/attempt_verification added
No action needed.
/email_addresses/{email_address_id}/attempt_verification - Additive
/email_addresses/{email_address_id}/prepare_verification added
No action needed.
/email_addresses/{email_address_id}/prepare_verification - Additive
/enterprise_connections/{enterprise_connection_id}/test_runs added
No action needed.
/enterprise_connections/{enterprise_connection_id}/test_runs - Additive
/phone_numbers/{phone_number_id}/attempt_verification added
No action needed.
/phone_numbers/{phone_number_id}/attempt_verification - Additive
/phone_numbers/{phone_number_id}/prepare_verification added
No action needed.
/phone_numbers/{phone_number_id}/prepare_verification
4 new request properties
- identification_status
- CreateBillingPriceRequest.supported_billing_periods
- email_address_identification_status
- phone_number_identification_status