v1
Northflank docs for LLMs
API
CLI
JS Client

Org / Org Roles /

List org directory groups

Lists the Directory Sync directory groups for the authenticated org.

Required permission

Os > Admin > Roles > Read

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
      • directoryGroups

        [array] required
        An array of org directory groups.
        • {object}
          An org directory group object.
          • id

            string required
            ID of the directory group.
          • name

            string required
            Display name of the directory group.
          • idpId

            string required
            ID of the linked group from the Identity Provider (IdP).
          • createdAt

            string required
          • updatedAt

            string required
API
CLI
JS Client

GET /v1/directory-groups

Example response

200 OK

A list of directory groups for the org.

JSON

{
  "data": {
    "directoryGroups": [
      {
        "id": "directory_group_1234567890ABCDEFGHIJKLMNOP"
      }
    ]
  }
}

© 2026 Northflank Ltd. All rights reserved.

northflank.com / Terms / Privacy / feedback@northflank.com