> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getbluejay.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PATCH /v1/scim/Users/{scim_user_id}

> Update a provisioned person.

> [!NOTE]
>
> SCIM endpoints authenticate with a SCIM token from **Settings → Security → User provisioning (SCIM)**, sent as `Authorization: Bearer <token>`. A Bluejay API key does not work here. Identity providers like Okta and Entra call these for you; see [SSO and User Provisioning](/administration/sso-and-provisioning.md).


## OpenAPI

````yaml PATCH /v1/scim/Users/{scim_user_id}
openapi: 3.1.0
info:
  title: Bluejay API
  description: Bluejay API
  version: 0.1.0
servers:
  - url: https://api.getbluejay.ai
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /v1/scim/Users/{scim_user_id}:
    patch:
      tags:
        - SCIM
      summary: Patch User
      operationId: patch_user_v1_scim_Users__scim_user_id__patch
      parameters:
        - name: scim_user_id
          in: path
          required: true
          schema:
            type: string
            title: Scim User Id
      requestBody:
        required: true
        content:
          application/scim+json:
            schema:
              type: object
            example:
              schemas:
                - urn:ietf:params:scim:api:messages:2.0:PatchOp
              Operations:
                - op: replace
                  value:
                    active: false
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - scimToken: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key required to authenticate requests.
    scimToken:
      type: http
      scheme: bearer
      description: >-
        SCIM token from Settings → Security → User provisioning (SCIM). Not an
        API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.