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

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

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

    Parameters

    • requestOptions: ICreateGroupOptions

      Options for the request, including a group object

    Returns Promise<{
        group: IGroup;
        success: boolean;
    }>

    A Promise that will resolve with the success/failure status of the request