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

NameDescriptionTypeAdditional 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/5974-58A9-A9C1-4526-B03C/sites/df12aa3b-bfe9-4e67-be60-24fe91b1ff17/admins/31d67746-40e5-409f-9b73-cc1ff64c7244

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).