CentralCSP
APIGroups

List group members

Returns everyone in the group with their profile. This list is not paginated.

Requires the admin role on the workspace.

GET
/v1/workspaces/{workspaceId}/groups/{groupId}/members

Authorization

headerAuthorizationBearer <JWT>

An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.

Path Parameters

workspaceId*string

The workspace's id.

groupId*string

The group's id.

Response Body

The members of the group.

application/json
  1. response
[index: integer]?

A member of a workspace.

Example Request
curl -X GET 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/groups/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/members'
Example Response
[  {    "id": "string",    "workspaceId": "string",    "userId": "string",    "role": "admin",    "email": "string",    "firstName": "string",    "lastName": "string",    "picture": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }]