Skip to main content
GET
/
radius
/
users
/
{userId}
/
groups
List User's Groups
curl --request GET \
  --url https://api.altostrat.io/radius/users/{userId}/groups \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "rad_grp_01HGM5V65A5A5A5A5A5A5A5A5B",
      "group_name": "Engineers",
      "user_count": 15,
      "check_attributes": "<any>",
      "reply_attributes": "<any>",
      "metadata": "<any>",
      "tags": "<any>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "per_page": 25,
    "has_more": true,
    "next_cursor": "eyJwayI6eyJT..."
  },
  "links": {
    "first": "https://api.altostrat.io/radius/users?per_page=25",
    "next": "https://api.altostrat.io/radius/users?per_page=25&cursor=eyJwayI6eyJT..."
  }
}

Authorizations

Authorization
string
header
required

Enter your API key in the format: Bearer <token>

Path Parameters

userId
string
required

The unique identifier for the user, prefixed with rad_usr_.

Query Parameters

per_page
integer
default:25

The number of items to return per page.

Required range: 1 <= x <= 100
cursor
string

An opaque cursor for navigating to the next page of results.

Response

A paginated list of the user's groups.

data
object[]
pagination
object