---
id: sources-scim-users-retrieve
title: "sources_scim_users_retrieve"
description: "SCIMSourceUser Viewset"
sidebar_label: "sources_scim_users_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVm1v2zgM/iuCccDu0NTuZR1wyKcWW1AEaG/DZd2XLgsUm4m1yJInyclygf/7kZLduHkrcNiXRJYo8iH5kNQ20iUY7oRWoywaRFZXJgU7takoppUFY6cGnBGwgqgXZWBTI0qSRtnx+9HD2Ms/oiD7ImBtwaFYyQ0vwOHlaPC0jQQJl9zleKTwAL9Ehmub5lDwaLCN3KakXYuG1CKq9w3dskqJHxWwFZf4KzJQTsw3KMtcLiwjsCwgZ4Q5RuUGflTCAPrkTAX1pBc5viA8rYsRbllIKyPcxsPklctJ8RK/JnTBgC21siiKEPtXV/SXauVQiJa8LKVIfeiS75aAbg9d0rPvkLrXQjcGI7gU/4Kh6BlKiRPBLkbqWIDIzc6BQFQL3GlOpmjWQ5Ty49w79woc1FuWkLFMr5UPIbPPkJjTzOZ6zQxIWHHlvIBlc23YwuiqtAegy+URbBRQnn1UchNyghkRTpLE6EMLPNBj3999uP80uY3Zn++uWJoj3VJiG0NEc1gjAdg9ONrpsUwshLOMq4zdJHFykVwmU6YRROyJSlKk8tvT16/r+ObicnLxGx4U/Oc9qAVSdoAm6pa3rwGjZL6xaNOWkm8YXYrJNWGniFCsuipmWkvgKtqF4TaI7Cv9AFYsFHdg2ToH5KgJrA9pynUlMzYD5jC6DlPI0VmvKGaPSF6J+Q7yQlmHCWB6zjLcdlQ+PE11pZz1KCW3bir1QqhjnmK6C47EjzI0c+lEQUhVJSWfEXpfZb0I2S/k2etBYuf1kL4ZzzIsN/sy9P1316gSc2TErHKBWvtExouCAsXlpy4FayLUsdrZZyEJ7nrFU0h0jxgcFHR4OdmBviPeP0Axo5qbHOjsNU3mbCAqUr/v3z6c0CiDsqbqOyXeQfSyo0R1fdBFydb1L+1iX7BBZP4qGxqjD5uX0mo6FyCzKdB5N4HcGL7BC8JBYY+0OASb6uxIBOnkVNJ34dhBC8hOxuPtL4zHHSjsmim7/TQ6EZAM3NH6OOttlw+Ngi4Vg9EzbuIWTuNc03xfNAOayitKmlGY7KZ9shVZnRDnwKzaAV4ZSdK8FMnqbeIJ307OMYUm+NaZn89e5M6V7aT3TQ+48ezExKu59pKNH7vrvYgsB/T9q/51/FfcP4j1A1/6BtbcChljVhSlBGrtlFLsg2Sh6UlRDlLqm4V+thQL7fueSAE7pSdseJ48jD5TmXm3yQU7SBIcI3k1i1NdJB0VyW41k3qWoCmV3I/eD/8eD72bpbau4KqjvAl6eLWEUXrqidVh5unXVhNqBz9dgmMHu3fdYN82id69eSgVbarxY+DbC7EpR5gkuN3OuIVHI+uatvHRZeh1hMsVxweBb/XICJxwtEZGzbm0cAb27+2w/oP9n2fcUefaFqKogXhlxPNetIRNeFvWE5TKsSfTIwnhhoPbNIXSda4c1Dox+7lU7oZEAspvd2oHAvfaRedt9RIOBtJLfNZLUBjMFp2jbwJY1/8Ba9X1zQ==
sidebar_class_name: "get api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---

import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"sources_scim_users_retrieve"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/sources/scim_users/{id}/"}
>
  
</MethodEndpoint>



SCIMSourceUser Viewset

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<details
  style={{"marginBottom":"1rem"}}
  className={"openapi-markdown__details"}
  data-collapsed={false}
  open={true}
>
  <summary
    style={{}}
  >
    <h3
      className={"openapi-markdown__details-summary-header-params"}
    >
      Path Parameters
    </h3>
  </summary><div>
    <ul>
      <ParamsItem
        className={"paramsItem"}
        param={{"in":"path","name":"id","schema":{"type":"string"},"description":"A unique value identifying this scim source user.","required":true}}
      >
        
      </ParamsItem>
    </ul>
  </div>
</details><div>
  <div>
    <ApiTabs
      label={undefined}
      id={undefined}
    >
      <TabItem
        label={"200"}
        value={"200"}
      >
        <div>
          
          
          
          
          
        </div><div>
          <MimeTabs
            className={"openapi-tabs__mime"}
            schemaType={"response"}
          >
            <TabItem
              label={"application/json"}
              value={"application/json"}
            >
              <SchemaTabs
                className={"openapi-tabs__schema"}
              >
                <TabItem
                  label={"Schema"}
                  value={"Schema"}
                >
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary
                      style={{}}
                      className={"openapi-markdown__details-summary-response"}
                    >
                      <strong>
                        Schema
                      </strong>
                    </summary><div
                      style={{"textAlign":"left","marginLeft":"1rem"}}
                    >
                      
                    </div><ul
                      style={{"marginLeft":"1rem"}}
                    >
                      <SchemaItem
                        collapsible={false}
                        name={"id"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"user"}
                        required={true}
                        schemaName={"integer"}
                        qualifierMessage={undefined}
                        schema={{"type":"integer"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={true}
                        className={"schemaItem"}
                      >
                        <details
                          style={{}}
                          className={"openapi-markdown__details"}
                        >
                          <summary
                            style={{}}
                          >
                            <span
                              className={"openapi-schema__container"}
                            >
                              <strong
                                className={"openapi-schema__property"}
                              >
                                user_obj
                              </strong><span
                                className={"openapi-schema__name"}
                              >
                                 object
                              </span><span
                                className={"openapi-schema__divider"}
                              >
                                
                              </span><span
                                className={"openapi-schema__required"}
                              >
                                required
                              </span>
                            </span>
                          </summary><div
                            style={{"marginLeft":"1rem"}}
                          >
                            <div
                              style={{"marginTop":".5rem","marginBottom":".5rem"}}
                            >
                              
                              
                              Stripped down user serializer to show relevant users for groups
                              
                              
                            </div><SchemaItem
                              collapsible={false}
                              name={"pk"}
                              required={true}
                              schemaName={"ID (integer)"}
                              qualifierMessage={undefined}
                              schema={{"type":"integer","readOnly":true,"title":"ID"}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"username"}
                              required={true}
                              schemaName={"string"}
                              qualifierMessage={"**Possible values:** `<= 150 characters`, Value must match regular expression `^[\\w.@+-]+$`"}
                              schema={{"type":"string","description":"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.","pattern":"^[\\w.@+-]+$","maxLength":150}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"name"}
                              required={true}
                              schemaName={"string"}
                              qualifierMessage={undefined}
                              schema={{"type":"string","description":"User's display name."}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"is_active"}
                              required={false}
                              schemaName={"Active (boolean)"}
                              qualifierMessage={undefined}
                              schema={{"type":"boolean","title":"Active","description":"Designates whether this user should be treated as active. Unselect this instead of deleting accounts."}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"last_login"}
                              required={false}
                              schemaName={"date-time"}
                              qualifierMessage={undefined}
                              schema={{"type":"string","format":"date-time","nullable":true}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"email"}
                              required={false}
                              schemaName={"email"}
                              qualifierMessage={"**Possible values:** `<= 254 characters`"}
                              schema={{"type":"string","format":"email","title":"Email address","maxLength":254}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"attributes"}
                              required={false}
                              schemaName={"object"}
                              qualifierMessage={undefined}
                              schema={{"type":"object"}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"uid"}
                              required={true}
                              schemaName={"string"}
                              qualifierMessage={undefined}
                              schema={{"type":"string","readOnly":true}}
                            >
                              
                            </SchemaItem>
                          </div>
                        </details>
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"source"}
                        required={true}
                        schemaName={"uuid"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","format":"uuid"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"attributes"}
                        required={false}
                        schemaName={""}
                        qualifierMessage={undefined}
                        schema={{}}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"id\": \"string\",\n  \"user\": 0,\n  \"user_obj\": {\n    \"pk\": 0,\n    \"username\": \"string\",\n    \"name\": \"string\",\n    \"is_active\": true,\n    \"last_login\": \"2024-07-29T15:51:28.071Z\",\n    \"email\": \"user@example.com\",\n    \"attributes\": {},\n    \"uid\": \"string\"\n  },\n  \"source\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"attributes\": {}\n}"}
                    language={"json"}
                  >
                    
                  </ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem><TabItem
        label={"400"}
        value={"400"}
      >
        <div>
          
          
          
          
          
        </div><div>
          <MimeTabs
            className={"openapi-tabs__mime"}
            schemaType={"response"}
          >
            <TabItem
              label={"application/json"}
              value={"application/json"}
            >
              <SchemaTabs
                className={"openapi-tabs__schema"}
              >
                <TabItem
                  label={"Schema"}
                  value={"Schema"}
                >
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary
                      style={{}}
                      className={"openapi-markdown__details-summary-response"}
                    >
                      <strong>
                        Schema
                      </strong>
                    </summary><div
                      style={{"textAlign":"left","marginLeft":"1rem"}}
                    >
                      
                    </div><ul
                      style={{"marginLeft":"1rem"}}
                    >
                      <SchemaItem
                        collapsible={false}
                        name={"non_field_errors"}
                        required={false}
                        schemaName={"string[]"}
                        qualifierMessage={undefined}
                        schema={{"type":"array","items":{"type":"string"}}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"code"}
                        required={false}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        name={"property name*"}
                        required={false}
                        schemaName={"any"}
                        qualifierMessage={undefined}
                        schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
                        collapsible={false}
                        discriminator={false}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"non_field_errors\": [\n    \"string\"\n  ],\n  \"code\": \"string\"\n}"}
                    language={"json"}
                  >
                    
                  </ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem><TabItem
        label={"403"}
        value={"403"}
      >
        <div>
          
          
          
          
          
        </div><div>
          <MimeTabs
            className={"openapi-tabs__mime"}
            schemaType={"response"}
          >
            <TabItem
              label={"application/json"}
              value={"application/json"}
            >
              <SchemaTabs
                className={"openapi-tabs__schema"}
              >
                <TabItem
                  label={"Schema"}
                  value={"Schema"}
                >
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary
                      style={{}}
                      className={"openapi-markdown__details-summary-response"}
                    >
                      <strong>
                        Schema
                      </strong>
                    </summary><div
                      style={{"textAlign":"left","marginLeft":"1rem"}}
                    >
                      
                    </div><ul
                      style={{"marginLeft":"1rem"}}
                    >
                      <SchemaItem
                        collapsible={false}
                        name={"detail"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"code"}
                        required={false}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"detail\": \"string\",\n  \"code\": \"string\"\n}"}
                    language={"json"}
                  >
                    
                  </ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem>
    </ApiTabs>
  </div>
</div>
      