Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.
Anarlog provides a SCIM 2.0 API for Enterprise workspaces to activate workspace membership and deprovision members directly from your identity provider.
Base URL and authentication
SCIM 2.0 base URL:https://api.anarlog.so/scim/v2
Authentication: OAuth 2.0 Bearer Token (Authorization: Bearer <token>). Tokens must be 32 to 512 characters with no control characters.
Configure or rotate your workspace SCIM bearer token in the desktop app:
Open Settings → Teams and select your Enterprise workspace.
Scroll to Admin → Policies.
Enter your claimed workspace domain under Claim email domain.
Enter a new 32–512 character secret under SCIM bearer token.
Click Save SCIM token, then configure that same bearer token in your identity provider.
Anarlog stores only a SHA-256 hash of the bearer token and cannot display it again after saving. To rotate the token, enter a new secret and click Save SCIM token, then update your identity provider.
Supported endpoints
Method and path
Purpose
Notes
GET /scim/v2/ServiceProviderConfig
Returns supported SCIM capabilities
patch.supported is true; bulk, filter, sort, etag, and changePassword are false
POST /scim/v2/Users
Adds or activates an existing Anarlog user in the workspace
Matches emails[0].value or userName; active defaults to true; returns 201 Created
PATCH /scim/v2/Users/{user_id}
Updates workspace active status
Expects a replace operation targeting active (or schema-prefixed *:active); {user_id} accepts a user UUID or email address
PUT /scim/v2/Users/{user_id}
Replaces active status for a workspace member
Matches the target user by emails[].value or userName in the request body (rather than {user_id} in the path) and applies active (true or false)
Errors use the SCIM urn:ietf:params:scim:api:messages:2.0:Error payload format:
Status
detail
Cause
400
userName or emails.value is required or active replace operation is required
Missing email/userName or invalid PATCHreplace operation
401
invalid bearer token
Missing, malformed, or unmatched SCIM bearer token
404
user not found
No existing Anarlog account matches that email address or user ID
502
directory update failed
Upstream database or RPC failure while applying the update
What deactivation does
When SCIM sets active to false:
Anarlog removes the user’s active membership from the workspace immediately.
Anarlog deletes the user’s registered cloud sync devices (sync_devices) account-wide across that Anarlog account (not scoped to a single workspace) so sync stops.
Separately rotating the workspace E2EE key (SCIM deactivation itself does not rotate workspace keys) prevents deactivated members from decrypting data encrypted under future workspace keys.
Deactivating a user via SCIM revokes server membership and cloud sync access, but it does not remotely wipe local notes or audio recordings already stored on an offline laptop or phone. Remove local files through your organization’s endpoint or MDM offboarding workflow.
Current limits
Existing accounts only:POST /scim/v2/Users returns 404 user not found if no Anarlog account exists for that email address yet. Have the user sign in once (for example, via SSO) before provisioning, or retry SCIM provisioning after their first sign-in.
Unsupported SCIM features: Group provisioning (/Groups), filter, bulk, sort, etag, and changePassword are not supported.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anarlog","colors":{"primary":"#74540F","light":"#946F25","dark":"#5D430D"},"logo":{"light":"https://mintcdn.com/anarlog/-iCzFORGfydBgWI1/logo/light.svg?fit=max\u0026auto=format\u0026n=-iCzFORGfydBgWI1\u0026q=85\u0026s=fd6f3fc6680594369a04bb02675becc2","dark":"https://mintcdn.com/anarlog/-iCzFORGfydBgWI1/logo/dark.svg?fit=max\u0026auto=format\u0026n=-iCzFORGfydBgWI1\u0026q=85\u0026s=dfaad2b62ca107df1c7a5841be3f6bef"},"favicon":"https://mintcdn.com/anarlog/cUO2oWvLkodnhtnf/favicon.png?fit=max\u0026auto=format\u0026n=cUO2oWvLkodnhtnf\u0026q=85\u0026s=8f6a9e98a19f749019ad7ab0e6e14593","navbar":{"links":[{"href":"mailto:team@fastrepl.com","label":"Support"}],"primary":{"type":"button","label":"Download Anarlog","href":"https://anarlog.so/download/"}},"footer":{"socials":{"github":"https://github.com/fastrepl/anarlog"}},"seo":{"metatags":{"canonical":"https://docs.anarlog.so"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Anarlog","icon":"house","href":"https://anarlog.so/"},{"anchor":"GitHub","icon":"github","href":"https://github.com/fastrepl/anarlog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"anarlog","hasAudioNarration":false,"actualSubdomain":"anarlog","customDomains":["docs.anarlog.so"],"gitSource":{"type":"github","owner":"fastrepl","repo":"anarlog","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b071af1f577b43f21ecfcdf","clientVersion":"0.0.4324","searchFilterCounts":[{"language":"default","tag":"Using Anarlog","count":16},{"language":"default","tag":"Enterprise","count":6},{"language":"default","tag":"CLI and agents","count":5},{"language":"default","tag":"AI and privacy","count":5},{"language":"default","tag":"Reference","count":5},{"language":"default","tag":"Getting started","count":3},{"language":"default","tag":"Help","count":2},{"language":"default","tag":"Recipes","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"enterprise/scim","slug":"/enterprise/scim","pageMetadata":{"title":"SCIM 2.0 provisioning","description":"Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.","href":"/enterprise/scim"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Anarlog provides a SCIM 2.0 API for Enterprise workspaces to activate workspace membership and deprovision members directly from your identity provider.`}),`\n`,_jsx(Heading,{level:`2`,id:`base-url-and-authentication`,children:`Base URL and authentication`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SCIM 2.0 base URL:`}),` `,_jsx(_components.code,{children:`https://api.anarlog.so/scim/v2`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Authentication:`}),` OAuth 2.0 Bearer Token (`,_jsx(_components.code,{children:`Authorization: Bearer \u003ctoken>`}),`). Tokens must be 32 to 512 characters with no control characters.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Configure or rotate your workspace SCIM bearer token in the desktop app:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Settings → Teams`}),` and select your Enterprise workspace.`]}),`\n`,_jsxs(_components.li,{children:[`Scroll to `,_jsx(_components.strong,{children:`Admin → Policies`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Enter your claimed workspace domain under `,_jsx(_components.strong,{children:`Claim email domain`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Enter a new 32–512 character secret under `,_jsx(_components.strong,{children:`SCIM bearer token`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Save SCIM token`}),`, then configure that same bearer token in your identity provider.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Anarlog stores only a SHA-256 hash of the bearer token and cannot display it again after saving. To rotate the token, enter a new secret and click `,_jsx(_components.strong,{children:`Save SCIM token`}),`, then update your identity provider.`]}),`\n`,_jsx(Heading,{level:`2`,id:`supported-endpoints`,children:`Supported endpoints`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method and path`}),_jsx(_components.th,{children:`Purpose`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /scim/v2/ServiceProviderConfig`})}),_jsx(_components.td,{children:`Returns supported SCIM capabilities`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`patch.supported`}),` is `,_jsx(_components.code,{children:`true`}),`; `,_jsx(_components.code,{children:`bulk`}),`, `,_jsx(_components.code,{children:`filter`}),`, `,_jsx(_components.code,{children:`sort`}),`, `,_jsx(_components.code,{children:`etag`}),`, and `,_jsx(_components.code,{children:`changePassword`}),` are `,_jsx(_components.code,{children:`false`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /scim/v2/Users`})}),_jsx(_components.td,{children:`Adds or activates an existing Anarlog user in the workspace`}),_jsxs(_components.td,{children:[`Matches `,_jsx(_components.code,{children:`emails[0].value`}),` or `,_jsx(_components.code,{children:`userName`}),`; `,_jsx(_components.code,{children:`active`}),` defaults to `,_jsx(_components.code,{children:`true`}),`; returns `,_jsx(_components.code,{children:`201 Created`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PATCH /scim/v2/Users/{user_id}`})}),_jsx(_components.td,{children:`Updates workspace active status`}),_jsxs(_components.td,{children:[`Expects a `,_jsx(_components.code,{children:`replace`}),` operation targeting `,_jsx(_components.code,{children:`active`}),` (or schema-prefixed `,_jsx(_components.code,{children:`*:active`}),`); `,_jsx(_components.code,{children:`{user_id}`}),` accepts a user UUID or email address`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PUT /scim/v2/Users/{user_id}`})}),_jsx(_components.td,{children:`Replaces active status for a workspace member`}),_jsxs(_components.td,{children:[`Matches the target user by `,_jsx(_components.code,{children:`emails[].value`}),` or `,_jsx(_components.code,{children:`userName`}),` in the request body (rather than `,_jsx(_components.code,{children:`{user_id}`}),` in the path) and applies `,_jsx(_components.code,{children:`active`}),` (`,_jsx(_components.code,{children:`true`}),` or `,_jsx(_components.code,{children:`false`}),`)`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`example-requests`,children:`Example requests`}),`\n`,_jsx(_components.p,{children:`Activate a user:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -X POST https://api.anarlog.so/scim/v2/Users \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization: Bearer $SCIM_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type: application/scim+json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"userName\": \"alex@company.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"emails\": [{ \"value\": \"alex@company.com\", \"primary\": true }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"active\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Deactivate a user:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -X PATCH https://api.anarlog.so/scim/v2/Users/alex@company.com \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization: Bearer $SCIM_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type: application/scim+json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Operations\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"op\": \"replace\", \"path\": \"active\", \"value\": false }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsxs(_components.p,{children:[`Errors use the SCIM `,_jsx(_components.code,{children:`urn:ietf:params:scim:api:messages:2.0:Error`}),` payload format:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`detail`})}),_jsx(_components.th,{children:`Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`userName or emails.value is required`}),` or `,_jsx(_components.code,{children:`active replace operation is required`})]}),_jsxs(_components.td,{children:[`Missing email/userName or invalid `,_jsx(_components.code,{children:`PATCH`}),` `,_jsx(_components.code,{children:`replace`}),` operation`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid bearer token`})}),_jsx(_components.td,{children:`Missing, malformed, or unmatched SCIM bearer token`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`user not found`})}),_jsx(_components.td,{children:`No existing Anarlog account matches that email address or user ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`directory update failed`})}),_jsx(_components.td,{children:`Upstream database or RPC failure while applying the update`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-deactivation-does`,children:`What deactivation does`}),`\n`,_jsxs(_components.p,{children:[`When SCIM sets `,_jsx(_components.code,{children:`active`}),` to `,_jsx(_components.code,{children:`false`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Anarlog removes the user’s active membership from the workspace immediately.`}),`\n`,_jsxs(_components.li,{children:[`Anarlog deletes the user’s registered cloud sync devices (`,_jsx(_components.code,{children:`sync_devices`}),`) account-wide across that Anarlog account (not scoped to a single workspace) so sync stops.`]}),`\n`,_jsx(_components.li,{children:`Separately rotating the workspace E2EE key (SCIM deactivation itself does not rotate workspace keys) prevents deactivated members from decrypting data encrypted under future workspace keys.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Deactivating a user via SCIM revokes server membership and cloud sync access, but it does not remotely wipe local notes or audio recordings already stored on an offline laptop or phone. Remove local files through your organization’s endpoint or MDM offboarding workflow.`})}),`\n`,_jsx(Heading,{level:`2`,id:`current-limits`,children:`Current limits`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Existing accounts only:`}),` `,_jsx(_components.code,{children:`POST /scim/v2/Users`}),` returns `,_jsx(_components.code,{children:`404 user not found`}),` if no Anarlog account exists for that email address yet. Have the user sign in once (for example, via `,_jsx(_components.a,{href:`/enterprise/sso-and-mfa`,children:`SSO`}),`) before provisioning, or retry SCIM provisioning after their first sign-in.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unsupported SCIM features:`}),` Group provisioning (`,_jsx(_components.code,{children:`/Groups`}),`), `,_jsx(_components.code,{children:`filter`}),`, `,_jsx(_components.code,{children:`bulk`}),`, `,_jsx(_components.code,{children:`sort`}),`, `,_jsx(_components.code,{children:`etag`}),`, and `,_jsx(_components.code,{children:`changePassword`}),` are not supported.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"SCIM 2.0 provisioning","description":"Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.","href":"/enterprise/scim"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Base URL and authentication","slug":"base-url-and-authentication","depth":2,"children":[]},{"title":"Supported endpoints","slug":"supported-endpoints","depth":2,"children":[{"title":"Example requests","slug":"example-requests","depth":3,"children":[]}]},{"title":"Error responses","slug":"error-responses","depth":2,"children":[]},{"title":"What deactivation does","slug":"what-deactivation-does","depth":2,"children":[]},{"title":"Current limits","slug":"current-limits","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"anarlog","siteName":"Anarlog","title":"SCIM 2.0 provisioning - Anarlog","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T04:46:41.297Z","originalFileLocation":"enterprise/scim.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Anarlog\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"SCIM 2.0 provisioning - Anarlog\">\u003cmeta data-mint-head property=\"og:description\" content=\"Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anarlog\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anarlog.so/enterprise/scim\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://anarlog.mintlify.site/_mintlify/api/og/v2?division=Enterprise\u0026amp;title=SCIM+2.0+provisioning\u0026amp;description=Manage+Enterprise+workspace+membership+and+offboarding+from+your+identity+provider+using+SCIM+2.0.\u0026amp;theme=658c492a98c744a4c6a8ea98\u0026amp;signature=9e9034187b432a6cacbf26f33c70d0fc52f4d68362097404da947156452c1489\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"SCIM 2.0 provisioning - Anarlog\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://anarlog.mintlify.site/_mintlify/api/og/v2?division=Enterprise\u0026amp;title=SCIM+2.0+provisioning\u0026amp;description=Manage+Enterprise+workspace+membership+and+offboarding+from+your+identity+provider+using+SCIM+2.0.\u0026amp;theme=658c492a98c744a4c6a8ea98\u0026amp;signature=9e9034187b432a6cacbf26f33c70d0fc52f4d68362097404da947156452c1489\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/anarlog/ajcocrUMYPyP4GiK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anarlog\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#74540F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.anarlog.so/enterprise/scim\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/enterprise/scim.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.anarlog.so/#organization\",\"name\":\"Anarlog\",\"url\":\"https://docs.anarlog.so\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/anarlog/-iCzFORGfydBgWI1/logo/light.svg?fit=max\u0026auto=format\u0026n=-iCzFORGfydBgWI1\u0026q=85\u0026s=fd6f3fc6680594369a04bb02675becc2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.anarlog.so#website\",\"name\":\"Anarlog\",\"url\":\"https://docs.anarlog.so\",\"publisher\":{\"@id\":\"https://docs.anarlog.so/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.anarlog.so/enterprise/scim#webpage\",\"url\":\"https://docs.anarlog.so/enterprise/scim\",\"name\":\"SCIM 2.0 provisioning\",\"description\":\"Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.\",\"dateModified\":\"2026-11-25T04:46:41.297Z\",\"isPartOf\":{\"@id\":\"https://docs.anarlog.so#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anarlog.so/enterprise/scim#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anarlog.so/enterprise/scim#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Enterprise\",\"item\":\"https://docs.anarlog.so/enterprise/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SCIM 2.0 provisioning\",\"item\":\"https://docs.anarlog.so/enterprise/scim\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.anarlog.so/enterprise/scim#article\",\"headline\":\"SCIM 2.0 provisioning\",\"name\":\"SCIM 2.0 provisioning\",\"description\":\"Manage Enterprise workspace membership and offboarding from your identity provider using SCIM 2.0.\",\"url\":\"https://docs.anarlog.so/enterprise/scim\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anarlog.so/enterprise/scim#webpage\"},\"dateModified\":\"2026-11-25T04:46:41.297Z\",\"publisher\":{\"@id\":\"https://docs.anarlog.so/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.anarlog.so#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Anarlog\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Anarlog\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/enterprise/scim.md","siteName":"Anarlog","nav":{"global":{"anchors":[{"anchor":"Anarlog","icon":"house","href":"https://anarlog.so/"},{"anchor":"GitHub","icon":"github","href":"https://github.com/fastrepl/anarlog"}]},"pages":[{"group":"Getting started","pages":[{"title":"Anarlog","href":"/index"},{"title":"Install the desktop app","href":"/desktop-installation"},{"title":"Your first meeting","href":"/quickstart"}]},{"group":"Using Anarlog","pages":[{"title":"Record meetings","href":"/meetings"},{"title":"Dictate into other apps","href":"/dictation"},{"title":"Automate meeting capture","href":"/automatic-capture"},{"title":"Import audio or a transcript","href":"/import-recordings"},{"title":"Import meeting history","href":"/imports"},{"title":"Import Zoom meetings","href":"/zoom"},{"title":"Notes, summaries, and transcripts","href":"/notes"},{"title":"Share meetings","href":"/sharing"},{"title":"Teams and shared libraries","href":"/teams"},{"title":"Chat with your meetings","href":"/chat"},{"title":"Customize meeting summaries","href":"/customize-summaries"},{"title":"Connect a calendar","href":"/calendar"},{"title":"Contacts and CRM","href":"/contacts"},{"title":"Cloud sync","href":"/sync"},{"title":"Automate meeting follow-up","href":"/automations"},{"title":"Use multiple languages","href":"/languages"}]},{"group":"AI and privacy","pages":[{"title":"Models and providers","href":"/models-and-providers"},{"title":"Transcription and AI","href":"/ai-setup"},{"title":"Use Anarlog offline","href":"/offline"},{"title":"Data, privacy, and retention","href":"/data-and-privacy"},{"title":"Security and procurement","href":"/security"}]},{"group":"Enterprise","pages":[{"title":"Enterprise overview","href":"/enterprise/overview"},{"title":"SSO and MFA","description":"Configure domain SAML 2.0 single sign-on, enforce mandatory SSO, and apply MFA through your identity provider.","href":"/enterprise/sso-and-mfa"},{"title":"SCIM 2.0 provisioning","href":"/enterprise/scim"},{"title":"Admin controls and policies","description":"Configure workspace roles, sharing restrictions, shared-note retention, custom subdomains, and usage visibility.","href":"/enterprise/policies-and-admin"},{"title":"Managed deployment and MDM","href":"/enterprise/managed-deployment"},{"title":"Self-hosting","href":"/enterprise/self-hosting"}]},{"group":"CLI and agents","pages":[{"title":"CLI installation","href":"/installation"},{"title":"Agent overview","href":"/agents/overview"},{"title":"CLI for agents","href":"/agents/cli"},{"title":"MCP for agents","href":"/agents/mcp"},{"title":"Anarlog skill","href":"/agents/skills"}]},{"group":"Recipes","pages":[{"title":"Prepare for a recurring meeting","href":"/recipes/meeting-prep"}]},{"group":"Reference","pages":[{"title":"CLI reference","href":"/reference/cli"},{"title":"MCP reference","href":"/reference/mcp"},{"title":"Cloud API and connectors","href":"/reference/api-cloud"},{"title":"Webhooks reference","href":"/reference/webhooks"},{"title":"Errors and exit codes","href":"/reference/errors"}]},{"group":"Help","pages":[{"title":"Frequently asked questions","href":"/help"},{"title":"Troubleshooting","href":"/troubleshooting"}]}]},"basePath":"","title":"SCIM 2.0 provisioning - Anarlog","deploymentId":"dpl_72MSwyBnA59N55RmMByBKiJ6RWpG","buildId":"dpl_72MSwyBnA59N55RmMByBKiJ6RWpG","dynamics":[],"chunks":[]}