DELETE /service/api/console/gsm/{gsmKey}/sites/{siteId}/admins/{userId}
Removes an admin from a site.
If the admin is a site-only admin on the site, the admin will be removed from the site. If the admin is an admin on the parent GSM console, the admin's permissions on the GSM and its other sites remain unchanged - the user's access level will be set to 0 (no access) for the specified site only.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
siteId |
The site identifier. |
string |
Required |
userId |
The identifier of the admin to remove. |
string |
Required |
URI Sample(s)
DELETE
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/73FA-0DDA-A8F0-4D26-896D/sites/d8d0658c-dafe-4472-a6db-489c3af1fb37/admins/f29ce41e-44c6-4f81-9043-2254d1a17f85
|
Body Parameters
None.
Response Information
Resource Description
None. If successful, this API action does not return any data and the response status code will be 204 (No Content).