> ## 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 properties of a user.

**Note**: To update user's attributes, use `Add Or Update User Attributes` action.

<Note>
  External Documentation

  To learn more, visit the [Atlassian Crowd documentation](https://developer.atlassian.com/server/crowd/rest/v602/api-group-users/#api-rest-usermanagement-1-user-put).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                 |
  | -------------- | ----------------------------------------------------------------------------------------------------------- |
  | Active         | Set whether the entity is active.                                                                           |
  | Directory ID   | The ID of the directory the entity belongs to.                                                              |
  | Directory Name | The name of the directory the entity belongs to.                                                            |
  | Display Name   | The user's display name.                                                                                    |
  | Email          | The user's email address.<br /><br />**Note**: External applications are not allowed to change user emails. |
  | Expand         | Set if the response should include expanded information.                                                    |
  | First Name     | The user's first name.                                                                                      |
  | Key            | The user's unique key.                                                                                      |
  | Last Name      | The user's last name.                                                                                       |
  | Name           | The user's name, which by default matches the value specified in the `Username` parameter.                  |
  | Password       | The user's password.                                                                                        |
  | Username       | The unique username associated with the user to update.                                                     |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                    |
  | ------------------ | ------------------------------------------------------------------------------ |
  | Encrypted Password | The user's encrypted password.                                                 |
  | Link Href          | The URL that points to the related entity.                                     |
  | Link Rel           | The relationship type of the linked entity (e.g., `self`, `next`, `previous`). |
</div>

## Example Output

```json theme={"dark"}
{
	"link": {
		"href": "https://crowdserver/crowd/rest/usermanagement/1/user?username=sampleuser",
		"rel": "self"
	},
	"name": "sampleuser",
	"password": {
		"link": {
			"href": "https://crowdserver/crowd/rest/usermanagement/1/user/password?username=sampleuser",
			"rel": "edit"
		}
	},
	"key": "557057:927441f1-cc92-4030-b633-8a2bbdf7136e",
	"active": true,
	"attributes": {
		"link": {
			"href": "https://crowdserver/crowd/rest/usermanagement/1/user/attributes?username=sampleuser&attributename=invalidPasswordAttempts&attributename=requiresPasswordChange",
			"rel": "self"
		},
		"attribute": [
			{
				"link": {
					"href": "https://crowdserver/crowd/rest/usermanagement/1/user/attributes?username=sampleuser&attributename=invalidPasswordAttempts",
					"rel": "self"
				},
				"name": "invalidPasswordAttempts",
				"values": [
					"0"
				]
			},
			{
				"link": {
					"href": "https://crowdserver/crowd/rest/usermanagement/1/user/attributes?username=sampleuser&attributename=invalidPasswordAttempts&attributename=requiresPasswordChange",
					"rel": "self"
				},
				"name": "requiresPasswordChange",
				"values": [
					"false"
				]
			}
		]
	},
	"first-name": "Sample",
	"last-name": "User",
	"display-name": "Sample User",
	"email": "sample@user.cool"
}
```

## Workflow Library Example

[Update User with Atlassian Crowd and Send Results Via Email](https://library.blinkops.com/workflows/update-user-with-atlassian-crowd-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-crowd-and-send-results-via-email/canvas" />
</div>
