createGroup

Function

import { createGroup } from "@esri/arcgis-rest-groups";
//
createGroup({
  group: {
    title: "No Homers",
    access: "public"
  },
  authentication
})
  .then(response)

Create a new Group. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
requestOptions Required IGroupAddRequestOptions

Options for the request, including a group object

Returns

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


Note: The group name must be unique within the user's organization.


Function defined in packages/arcgis-rest-groups/src/create.ts:37