Show information about a single group in JSON format

This method returns a single group JSON object with information about the element that has the specified id. You can change the format of the JSON response by specifying the format parameter.

Request

GET http://{hostname}:{port}
/groups/{id}?{parameters}
Accept: application/json
Table 1. Request parameters
Parameter Type Required Description
format string false One of the format options; this parameter determines what information is included in the JSON response. If not specified, or if an unrecognized value is specified, the default format of "detail" will be used.
Table 2. URL parameters
Parameter Type Required Description
id string true The ID of the group element.
For the format parameter, use one of the following format options:
list
Name, ID and users
detail
Identical to 'list' format
name
Name and ID only
For details about the full JSON that the server returns when you select one of these formats, see the related resource: groups resource.

Content types

This command returns the following content types. Specify the content type that you are accepting in the header of the request.
  • application/json

Feedback