---
id: sources-scim-users-update
title: "sources_scim_users_update"
description: "SCIMSourceUser Viewset"
sidebar_label: "sources_scim_users_update"
hide_title: true
hide_table_of_contents: true
api: eJzNV21v2zYQ/iuEMGAbaluOE7udPyVLg8JA0gZ56ZfUMyiJstjQpEpSdjxD/313pBTJseMAQwfsiyGJx+Nzz909PG8ClTNNLVdykgTjwKhCx8zMTMwXs8IwbWZFnlDLgk6QMBNrnqMtWN6eT65unfU9mJGvnK0Ms2CWU00XzMLWYPywCTga59RmsCRhAd54As8mztiCBuNNYNc5fjVWczkPypcHnZFC8h8FI0sq4JcnTFqersGW2IwbglCJx00QcQ+ca/aj4JpBRFYXrJx2AkvniKcOMJh6I2bsnypZI4xYSQuu8ZHmueCxYyX8bhDFZhevir6z2L7Fyy3TnAr+N9NIjUa2LYfzwQ/QsBN9J1hwecnkHPgaHwEXGFHLjAPGOXyBFR/JPhep0gsKgQRFAWeAKbWwFBXWnVuWbX4eqmx4Z9V5yBe3gu2Ec+MpC8ptJ45kcMLiQnO7dnmnhc0wU4/wNi0d3SZX0vjYB/3+/4bzgyzjygyOdRCF+JK64N6AA37znCUkUSvpapKYZ0jEKmIytSKaCbak0joDQyBpZK5VkZsd0PnjHmxIKE2+SLH2/Dcpm3ysgft+2y2Qbbg3VR575GjYJ3EG/Rtj+xJAlLIVdBS5ZBa/dEjC59waQmVCTsNe+C7shjOiAETPdT5aocu/Hr59W/VO33Wn737BmqZPzzU97Je1ELwFDJP5q4EzTS7omuCmHobGzQwQ8mXbRaSUYFQGDQ1n3uSl04/M8LkERTNklTGoUe1lxKcpU4VISMSIBXYtpJBCsM5Rj9xD8QrIt7fn0lhIAFEpSeCzRT2icawKaY1DKaixM6HmXB7sURTXruULRCoLIWiE6KuOgurn4uB2b9FEfYHvhCYJtJvZpn4wPHmpBTuFDBs5EkXFdbsEsd2L/Xq1XYUvxcUluoMV7B206rIlMp+w7q/YIsKem+74/E+1rtXir8qe17vtOsKzTn6qin0FgUjcVnKhtdoVL6nkLOVMJDOG6+0EUq3pGjZwyxZmj8QB2FglexjEldeS3tDRQPPIXuXj+Cfy8YlJUM2YnF1PXiEkYXZvfxyMtl0PlYN2KfpDD4QJn2C8yRSOS3nhJx5sryCsZouwGZ7CDU/KEGuO6WU9ERVaoDXNebg8Dl3B1zfnLVLjY2vdn89RZNbm9ejkRI9R7aqzEyC5N81Ac/FEF7lg9ZXX9Iu/6fpNSwXHKf0wTEcn3eH7o/fdk+Fo0I2O07g7iP8YHaejEU3pKNjTV1ymymGrmGsAdwKM1fM16A9Oeh96g53sXtFHJ5nVLl8jxHCEjZcJFhEoL55QqWCQMSHU6Vw9n9Tjyiktjxlos2sRP2FeTe4wVkc0kmbGYQgXV1ZEvVgtwpaLsHmKhIpCOEqGl5Pzi8+3F47YXBm7oLLlvEqzHzz95b1/Rm51wuvjcpVay55sCNcc3BZlhXxTFVYztGLq69KCl7GTM6zeDECi4WYTUcPutShL/AzloHEag8clhQHEXS1QgXCj4jMURkqFYQdg/1YPB7+TfzOH7w2uliyJguWcYV91gke29n8OyilYZXAHYKkCXL9w7kF173B7s3FHYcpOveMsjlluD9pOW818fY9FE1V/BxZOQAJNV3jJwa/DqBxHrkHdtw1c83Je0DnaepdOUQtMXDOc+D7t1A+tEXKbBcifs7hTj0xCDmtSLL4jL2X5D6ZNtbw=
sidebar_class_name: "put 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_update"}
>
</Heading>

<MethodEndpoint
  method={"put"}
  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><MimeTabs
  className={"openapi-tabs__mime"}
>
  <TabItem
    label={"application/json"}
    value={"application/json-schema"}
  >
    <details
      style={{}}
      className={"openapi-markdown__details mime"}
      data-collapsed={false}
      open={true}
    >
      <summary
        style={{}}
        className={"openapi-markdown__details-summary-mime"}
      >
        <h3
          className={"openapi-markdown__details-summary-header-body"}
        >
          Body
        </h3><strong
          className={"openapi-schema__required"}
        >
          required
        </strong>
      </summary><div
        style={{"textAlign":"left","marginLeft":"1rem"}}
      >
        
      </div><ul
        style={{"marginLeft":"1rem"}}
      >
        <SchemaItem
          collapsible={false}
          name={"id"}
          required={true}
          schemaName={"string"}
          qualifierMessage={"**Possible values:** `non-empty`"}
          schema={{"type":"string","minLength":1}}
        >
          
        </SchemaItem><SchemaItem
          collapsible={false}
          name={"user"}
          required={true}
          schemaName={"integer"}
          qualifierMessage={undefined}
          schema={{"type":"integer"}}
        >
          
        </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>
</MimeTabs><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>
      