Skip to main content

Read a User

GET 

/scim/v2/sso/:connection_name/Users/:id

General Availability

Make a request to read a user.

Request

Responses

OK

Response Headers
    X-Request-Id

    The unique identifier for the API request.

OpenAPI definition (YAML)
paths:
  /scim/v2/sso/{connection_name}/Users/{id}:
    get:
      parameters:
      - name: connection_name
        in: path
        required: true
        schema:
          type: string
        description: The Connection Name
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the users.
      x-lifecycle-stage: General Availability
      x-self-access: true
      operationId: getScimV2User
      description: '[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)


        Make a request to read a user.'
      tags:
      - Users (scim/v2)
      security:
      - cloud-api-key: []
      - confluent-sts-access-token: []
      responses:
        '200':
          description: OK
          x-minispec-transform-ignore: true
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
          content:
            application/scim+json:
              schema:
                type: object
                description: 'Represents a user account in Confluent Cloud managed through SCIM protocol.

                  '
                properties:
                  schemas:
                    type: array
                    description: The SCIM schema.
                    items:
                      type: string
                      example: urn:ietf:params:scim:schemas:core:2.0:User
                  id:
                    type: string
                    maxLength: 255
                    description: Unique identifier for the User. Automatically assigned by Confluent Cloud.
                    readOnly: true
                    example: u-12345
                  userName:
                    type: string
                    description: 'The user''s email address, which serves as their unique identifier in
                      Confluent Cloud.

                      '
                    example: marty.mcfly@example.com
                  name:
                    type: object
                    description: The user's full name.
                    allOf:
                    - description: The user's full name.
                      type: object
                      properties:
                        givenName:
                          type: string
                          description: The user's first name.
                          example: Marty
                        familyName:
                          type: string
                          description: The user's last name.
                          example: McFly
                      title: scim.v2.Name
                  active:
                    type: boolean
                    description: 'Indicates whether the user account is active and can access Confluent
                      Cloud resources.

                      '
                    example: true
                  meta:
                    type: object
                    description: Metadata about the resource.
                    readOnly: true
                    allOf:
                    - description: Metadata about the SCIM resource.
                      type: object
                      readOnly: true
                      properties:
                        resourceType:
                          type: string
                          description: The name of the resource type of the resource.
                          example: User
                        created:
                          type: string
                          format: date-time
                          description: The DateTime the Resource was added to Confluent Cloud.
                          example: '2025-01-01T12:00:00Z'
                        lastModified:
                          type: string
                          format: date-time
                          description: The most recent DateTime that the details of this Resource were
                            updated.
                          example: '2025-01-01T12:00:00Z'
                        location:
                          type: string
                          format: uri
                          description: The URI of the SCIM resource being returned.
                          example: https://api.confluent.cloud/scim/v2/Users/u-12345
                      title: scim.v2.Meta
                title: scim.v2.User
        '400':
          description: Bad Request
          x-minispec-transform-ignore: true
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
          content:
            application/scim+json:
              schema:
                type: object
                description: 'Standard SCIM error response format containing error details and status
                  information.

                  Returned when SCIM operations encounter validation errors or other issues.

                  '
                properties:
                  schemas:
                    type: array
                    description: The SCIM schema for the error response.
                    items:
                      type: string
                      example: urn:ietf:params:scim:api:messages:2.0:Error
                  status:
                    type: string
                    description: The HTTP status code of the error response.
                  detail:
                    type: string
                    description: A human-readable description of the error.
                title: scim.v2.Error
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                status: '400'
                detail: Bad Request
        '401':
          description: Unauthorized
          x-minispec-transform-ignore: true
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
            WWW-Authenticate:
              schema:
                type: string
              description: The unique identifier for the API request.
              example: Basic error="invalid_key", error_description="The API Key is invalid"
          content:
            application/scim+json:
              schema:
                type: object
                description: 'Standard SCIM error response format containing error details and status
                  information.

                  Returned when SCIM operations encounter validation errors or other issues.

                  '
                properties:
                  schemas:
                    type: array
                    description: The SCIM schema for the error response.
                    items:
                      type: string
                      example: urn:ietf:params:scim:api:messages:2.0:Error
                  status:
                    type: string
                    description: The HTTP status code of the error response.
                  detail:
                    type: string
                    description: A human-readable description of the error.
                title: scim.v2.Error
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                status: '401'
                detail: Unauthorized
        '403':
          description: Forbidden
          x-minispec-transform-ignore: true
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
          content:
            application/scim+json:
              schema:
                type: object
                description: 'Standard SCIM error response format containing error details and status
                  information.

                  Returned when SCIM operations encounter validation errors or other issues.

                  '
                properties:
                  schemas:
                    type: array
                    description: The SCIM schema for the error response.
                    items:
                      type: string
                      example: urn:ietf:params:scim:api:messages:2.0:Error
                  status:
                    type: string
                    description: The HTTP status code of the error response.
                  detail:
                    type: string
                    description: A human-readable description of the error.
                title: scim.v2.Error
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                status: '403'
                detail: Forbidden
        '404':
          description: Not Found
          x-minispec-transform-ignore: true
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
          content:
            application/scim+json:
              schema:
                type: object
                description: 'Standard SCIM error response format containing error details and status
                  information.

                  Returned when SCIM operations encounter validation errors or other issues.

                  '
                properties:
                  schemas:
                    type: array
                    description: The SCIM schema for the error response.
                    items:
                      type: string
                      example: urn:ietf:params:scim:api:messages:2.0:Error
                  status:
                    type: string
                    description: The HTTP status code of the error response.
                  detail:
                    type: string
                    description: A human-readable description of the error.
                title: scim.v2.Error
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                status: '404'
                detail: Not Found
        '429':
          description: Rate Limit Exceeded
          x-minispec-transform-ignore: true
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
            X-RateLimit-Limit:
              schema:
                type: integer
              description: The maximum number of requests you're permitted to make per time period.
            X-RateLimit-Remaining:
              schema:
                type: integer
              description: The number of requests remaining in the current rate limit window.
            X-RateLimit-Reset:
              schema:
                type: integer
              description: "The relative time in seconds until the current rate-limit window resets. \
                \ \n \n**Important:** This differs from Github and Twitter's same-named header which uses\
                \ UTC epoch seconds. We use relative time to avoid client/server time synchronization\
                \ issues."
            Retry-After:
              schema:
                type: integer
              description: The number of seconds to wait until the rate limit window resets. Only sent
                when the rate limit is reached.
          content:
            application/scim+json:
              schema:
                type: object
                description: 'Standard SCIM error response format containing error details and status
                  information.

                  Returned when SCIM operations encounter validation errors or other issues.

                  '
                properties:
                  schemas:
                    type: array
                    description: The SCIM schema for the error response.
                    items:
                      type: string
                      example: urn:ietf:params:scim:api:messages:2.0:Error
                  status:
                    type: string
                    description: The HTTP status code of the error response.
                  detail:
                    type: string
                    description: A human-readable description of the error.
                title: scim.v2.Error
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                status: '429'
                detail: Rate Limit Exceeded
        '500':
          description: Internal Server Error
          x-minispec-transform-ignore: true
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
          content:
            application/scim+json:
              schema:
                type: object
                description: 'Standard SCIM error response format containing error details and status
                  information.

                  Returned when SCIM operations encounter validation errors or other issues.

                  '
                properties:
                  schemas:
                    type: array
                    description: The SCIM schema for the error response.
                    items:
                      type: string
                      example: urn:ietf:params:scim:api:messages:2.0:Error
                  status:
                    type: string
                    description: The HTTP status code of the error response.
                  detail:
                    type: string
                    description: A human-readable description of the error.
                title: scim.v2.Error
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                status: '500'
                detail: Internal Server Error
      servers:
      - url: https://api.confluent.cloud
        description: Confluent Cloud API