protectGroup
FunctionprotectGroup(requestOptions: IUserGroupOptions): Promise<{ success: boolean }>
Protect a group to avoid accidental deletion. See the REST Documentation for more information.
import { protectGroup } from '@esri/arcgis-rest-portal';
protectGroup({
id: groupId,
authentication
})
.then(response)
Parameters
Parameter | Type | Notes |
---|---|---|
request | IUserGroupOptions | Options for the request |
Returns
Promise<{ success: boolean }>
A Promise that will resolve with the success/failure status of the request