Skills
Log in

List org directory groups

Lists the Directory Sync directory groups for the authenticated org.

Required permission

Organisation > 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

GET /v1/directory-groups

curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request GET \
  "https://api.northflank.com/v1/directory-groups"

Example response

200 OK

A list of directory groups for the org.

JSON

{
  "data": {
    "directoryGroups": [
      {
        "id": "directory_group_1234567890ABCDEFGHIJKLMNOP",
        "name": "string",
        "idpId": "string",
        "createdAt": "1970-01-01T00:00:00.000Z",
        "updatedAt": "1970-01-01T00:00:00.000Z"
      }
    ]
  }
}

© 2026 Northflank Ltd. All rights reserved.

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