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/932A-8689-3857-4B54-AC24/sites/dc544df2-ae5d-4ac7-8094-6f26c6b9266c/admins/042a0ea5-c260-4a56-9c6b-584c24766428

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