getGroup
FunctiongetGroup(id: string, requestOptions?: IRequestOptions): Promise<IGroup>
Fetch a group using its id. See the REST Documentation for more information.
import { getGroup } from "@esri/arcgis-rest-portal";
//
getGroup("fxb988") // id
.then(response)
Parameters
Parameter | Type | Notes |
---|---|---|
id | string | Group Id |
request | IRequestOptions | Options for the request |
Returns
Promise<IGroup>
A Promise that will resolve with the data from the response.