/disable: Disable

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

Example Usage

URL for Disable

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

Description

The Disable operation (POST only) disables login access for the user. It is only available to the administrator of the organization.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails

success

Indicates if the operation was successful.

user

The username of the user to disable.

JSON Response Syntax

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

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
{
  "success": true,
  "itemId": "b512083cd1b64e2da1d3f66dbb135956"
}

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