Unassign User Credits
- URL:https://<portal-url>/unassignUserCredits(POST only)
Description
The Unassign User Credits operation (POST only) allows organization administrators to remove credit allocation for organizational users in ArcGIS Online.
Request Parameters
Parameter | Details |
|---|---|
| [Common Parameters] | For a complete listing, see Common parameters. |
| usernames | A JSON array of user names whose credit allocation to be removed. Example: |
Response Properties
Property | Details |
|---|---|
| success | Indicates if the operation was successful. |
| notUnAssignedUsers | An array of user names representing a subset of users whose credit allocation were not removed successfully. Used when success is true. |
Example Usage
URL for Unassign User Credits
https://www.arcgis.com/sharing/rest/portals/LkFyxb9zDq7vAOxm/unassignUserCredits
JSON Response Syntax
{
"success": true | false,
"notUnAssignedUsers": ["<username1>", "<username2>"...]
}
JSON Response Example
{
"success": true,
"notUnAssignedUsers": ["user8"]
}