Skip to main content

List organization groups

Get all groups that belong to an organization. The results can be filtered by state which can be either be enabled or disabled.

Path Parameters
    org_id string required
Query Parameters
    state string

    The state of the group to filter by. It can be enabled or disabled.

    group_ids string[]
    with_members boolean
    with_member_count boolean
Responses

A successful response.


Schema
    groups object[]
  • Array [
  • id string
    name string
    title string
    org_id string
    metadata object
    created_at date-time

    The time the group was created.

    updated_at date-time

    The time the group was last updated.

    users object[]
  • Array [
  • id string
    name can either be empty or must start with a character

    Unique name of the user.

    title string

    Name of the user.

    email string
    metadata object
    created_at date-time

    The time the user was created.

    updated_at date-time

    The time the user was last updated.

    state string

    The state of the user (enabled or disabled).

    avatar string

    The base64 encoded image string of the user avatar. Should be less than 2MB.

  • ]
  • members_count int32

    The number of members explicitly added in the project.

  • ]
GET /v1beta1/organizations/:org_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
org_id — path required
state — query
group_ids — query
with_members — query
with_member_count — query
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/organizations/:org_id/groups' \
-H 'Accept: application/json'