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

# Update User

Update the directory-based user information using the user attributes associated with their `userId`. User information is replaced attribute-by-attribute, with the exception of immutable and read-only attributes. Existing values of unspecified attributes are cleaned.

<Note>
  External Documentation

  To learn more, visit the [Atlassian User Provisioning documentation](https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-userid-put).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                              |
  | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | User ID   | Unique ID to identiy the users. Use the [Get users API](https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-get) to get the userId. |
  | User Name | Unique identifier defined by the provisioning client. Atlassian SCIM service will verify  the value and guarantee its uniqueness. This is a required field during  user creation or modification.        |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                                                                                                                                                                                                                                                           |
  | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Active              | A Boolean value indicating the user's administrative status.                                                                                                                                                                                                                                                          |
  | Attributes          | Resource attributes to be included in the response. Mutually exclusive from  `excludedAttributes`. Example: `userName,emails.value`.                                                                                                                                                                                  |
  | Department          | User's department.                                                                                                                                                                                                                                                                                                    |
  | Display Name        | User's display name.                                                                                                                                                                                                                                                                                                  |
  | Emails              | Email addresses of the User. This is a required field during user creation or modification. One value must be marked as primary. For more information [Atlassian documentation](https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-userid-put). |
  | Excluded Attributes | Resource attributes to be excluded in the response. Mutually exclusive from `attributes`. Example: `timezone,emails.type,department`.                                                                                                                                                                                 |
  | Name                | The components of the user's name. For more information [Atlassian documentation](https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-userid-put).                                                                                               |
  | Nick Name           | User's nickname.                                                                                                                                                                                                                                                                                                      |
  | Organization        | User's organization.                                                                                                                                                                                                                                                                                                  |
  | Phone Numbers       | Phone numbers of the user. For more information [Atlassian documentation](https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-userid-put).                                                                                                       |
  | Preferred Language  | User's preferred language.                                                                                                                                                                                                                                                                                            |
  | Timezone            | User's timezone. e.g. America/Los\_Angeles .                                                                                                                                                                                                                                                                          |
  | Title               | User's title.                                                                                                                                                                                                                                                                                                         |
</div>

## Example Output

```json theme={"dark"}
{
	"active": false,
	"department": "User's department.",
	"displayName": "User's display name.",
	"emails": [
		{
			"primary": false,
			"type": "Type of email address, for example \"work\" or \"personal\".",
			"value": "Email address."
		}
	],
	"externalId": "Identifier defined by provisioning client. This is a case-sensitive field. Uniqueness is  controlled by client.\n",
	"groups": [
		{
			"$ref": "string",
			"display": "string",
			"type": "string",
			"value": "string"
		}
	],
	"id": "Unique identifier defined by Atlassian SCIM Service. CaseExact. This is a read-only field and will be disregarded if included in the payload during user creation or modification.\n",
	"meta": {
		"created": "The DateTime that the resource was added to Atlassian SCIM service. This is a read-only field.\n",
		"lastModified": "The most recent DateTime that the details of this resource were updated. This  is a read-only field.\n",
		"location": "The URI of the resource being returned. This is a read-only field.",
		"resourceType": "The name of the resource type of the resource. This is a read-only and  case-sensitive field.\n"
	},
	"name": {
		"familyName": "The family name of the User.",
		"formatted": "The full name, including all middle names, titles, and suffixes as appropriate, formatted for display.",
		"givenName": "The given name of the User.",
		"honorificPrefix": "The honorific prefix(es) of the User, or title in most Western languages.",
		"honorificSuffix": "The honorific suffix(es) of the User, or suffix in most Western languages.",
		"middleName": "The middle name(s) of the User."
	},
	"nickName": "User's nickname.",
	"organization": "User's organization.",
	"phoneNumbers": [
		{
			"primary": false,
			"type": "Type of phone number, for example `work` or `personal`",
			"value": "Phone number."
		}
	],
	"preferredLanguage": "User's preferred language.",
	"schemas": [
		"string"
	],
	"timezone": "User's timezone. e.g. America/Los_Angeles .",
	"title": "User's title.",
	"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
		"department": "Department the user belongs to.",
		"organization": "Organization the user belongs to."
	},
	"urn:scim:schemas:extension:atlassian-external:1.0": {
		"atlassianAccountId": "string"
	},
	"userName": "Unique identifier defined by the provisioning client. Atlassian SCIM service will verify  the value and guarantee its uniqueness. This is a required field during  user creation or modification.\n"
}
```

## Workflow Library Example

[Update User with Atlassian User Provisioning and Send Results Via Email](https://library.blinkops.com/workflows/update-user-with-atlassian-user-provisioning-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-user-with-atlassian-user-provisioning-and-send-results-via-email/canvas" />
</div>
