Replace all updatable attributes on a user.
Warning
Use caution when using this endpoint. This will replace the existing user record with the attributes passed in the request body. If an attribute is not present in the request body, its value will be cleared or unset to a system default value:
- If the
active
attribute is not present, it will be set tofalse
. - If the
name.givenName
attribute is not present, it will be cleared. - If the
name.familyName
attribute is not present, it will be cleared. - If
ik12Roles
is not present and the user extension schema is included in theschemas
attribute, the user's roles will be cleared.
Required Attributes
- The
userName
attribute is required and must match the email of the user to be updated. This attribute cannot be changed. - The
schemas
attribute is required and the core user schemaurn:ietf:params:scim:schemas:core:2.0:User
must be included.
User Activation
When the active
attribute is set to true
:
- If the user has ever been activated in the past, then their status will be set to
activated
. - Otherwise, the user's status will be set to
invited
, and an invite email will be sent to the email address specified byuserName
.
When the active
attribute is set to false
, then the user's status will be set to deactivated
.
Updating IK12 Roles
-
Informed K12 roles will only be updated when the user extension schema
urn:ietf:params:scim:schemas:extension:informedk12:2.0:User
is included in theschemas
attribute. -
Informed K12 roles can be updated in the following ways:
{ "urn:ietf:params:scim:schemas:extension:informedk12:2.0:User": { "ik12Roles": ["form_creator"] } }
{ "urn:ietf:params:scim:schemas:extension:informedk12:2.0:User:ik12Roles": ["form_creator"] }
-
Supported
ik12Roles
values:form_admin
,form_creator
,form_publisher
,user_admin
-
Informed K12 roles will be replaced by the values passed in the request body. For example, if a user currently has
user_admin
andform_publisher
roles, the following request will remove theuser_admin
andform_publisher
roles and set the user's roles to be justform_creator
:{ "urn:ietf:params:scim:schemas:extension:informedk12:2.0:User": { "ik12Roles": ["form_creator"] } }