protectGroup

Function

import { protectGroup } from '@esri/arcgis-rest-groups';
//
protectGroup({
  id: groupId,
  authentication
})
  .then(response)

Protect a group to avoid accidental deletion. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
requestOptions Required IGroupIdRequestOptions

Options for the request

Returns

Promise<any> - A Promise that will resolve with the success/failure status of the request


Function defined in packages/arcgis-rest-groups/src/protect.ts:23