Skip to main content

Get a group

GET 

/groups/:groupName

Returns one group.

This is not an expanded form of what GET /groups lists. That endpoint answers with Prism's own two-field summary; this one answers with the directory's representation of the group. Code that consumes both needs to handle two shapes.

It does not list members or access. Use GET /groups/{groupName}/members for who is in the group and GET /groups/{groupName}/assignments for what the group grants.

The lookup is a search followed by an exact match, not a direct fetch: Prism asks the directory for groups matching the name and then picks the one whose name is exactly equal. The directory returns a bounded number of search results, so in a realm with many similarly named groups a group that exists can fall outside that window and be reported as a 404. A 404 here means "not among the matches the directory returned", which is not quite the same as "does not exist".

The body of this response is the directory's own administrative group representation, passed through unmodified. Prism does not map it to a shape of its own, so its exact field set depends on the version and the configuration of the directory behind your deployment, and additional fields may be present that are not listed here. Treat the response as sensitive: do not log it, and read only the fields you need.

Request​

Responses​

The group.