getGroup

getGroup

getGroup(idstring, requestOptions?IRequestOptions): Promise<IGroup>

Fetch a group using its id. See the REST Documentation for more information.

Use dark colors for code blocksCopy
    
1
2
3
4
import { getGroup } from "@esri/arcgis-rest-portal";
//
getGroup("fxb988") // id
  .then(response)
Parameters
ParameterTypeNotes
id
string

Group Id

requestOptions
IRequestOptions

Options for the request

Returns 
Promise<IGroup>

A Promise that will resolve with the data from the response.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.