/delete: Delete User

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

Example Usage

URL for Delete User

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/community/users/jsmith/delete

Description

The Delete User operation (POST only) is available only to the user in question or to the administrator of the user's organization.

If deleting a user who is part of an organization, their content and groups must be transferred to another member or deleted prior to deleting the user.

If the user is not part of an organization, all content and groups of the user must first be deleted.

Deleting a user whose identity provider is the Esri Global Account will not delete the user from the Esri Global Account system.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails

success

Indicates if the operation was successful.

username

The username of the deleted user.

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
4
{
  "success": true | false,
  "username": "<username>"
}

JSON Response Example

Use dark colors for code blocksCopy
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.