Skip to main content

List user groups

Lists all the groups a user belongs to across all organization in Frontier. To get the groups of a user in a specific organization, use the org_id filter in the query parameter.

Path Parameters
    id string required

    The unique ID of the user to get groups for.

Query Parameters
    orgId string

    The organization ID to filter groups by. If not provided, groups from all organizations are returned.

Responses

A successful response.


Schema
    groups object[]
  • Array [
  • id string
    name string
    title string
    orgId string
    metadata object
    createdAt date-time

    The time the group was created.

    updatedAt date-time

    The time the group was last updated.

  • ]
GET /v1beta1/users/:id/groups

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
id — path required
orgId — query
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/users/:id/groups' \
-H 'Accept: application/json'