/update: Update User

URL:
https://[root]/community/users/[userName]/update
Methods:
POST

Example Usage

URL for Update User

1
2
3
https://www.arcgis.com/sharing/rest/community/users/jsmith/update
preferredView=GIS
tags=GIS Analyst, Redlands

Description

The Update User operation (POST only) modifies properties such as description, preferred view, tags, access, and thumbnail. The user name cannot be modified. For the "ecas" identity provider, password, e-mail, and full name must be modified by editing your Esri Global Account. For the "arcgis" identity provider, password, full name, security question, and security answer can be updated with Update User. Update User is available only to the user or to the administrator of the user's organization.

Only the properties that are to be updated need to be specified in the request. Properties not specified will not be affected.

Content Views

The portal provides the ability for the user to control the types of content that are presented. This information can then be used to filter certain types of content from search results or featured content. preferredView is the parameter that manages this.

The preferredView parameter allows the user to set the content view that is relevant to them. There are three types of views: Web, GIS, and null. The Web view means the client should return maps (for example, web maps and map services), applications, and tools. In addition to these types, the GIS view means the client should return ArcGIS maps (for example, map packages and map documents), layers, and tools.

This option only applies to Portal for ArcGIS 10.5.1 or prior.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

clearEmptyFields

Clears any string fields that are passed in empty, i.e. description.

Example:

1
clearEmptyFields=true

[Update User Parameters]

For a complete listing of the available Update User parameters, see the User section of Common parameters.

Response Properties

PropertyDetails

success

Indicates if the operation was successful.

username

The username of the modified user.

JSON Response Syntax

1
2
3
4
{
  "success": true | false,
  "username": "<username>"
}

JSON Response Example

1
2
3
4
{
  "success": true,
  "username": "jsmith"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close