Team Membership

Returns a paginated list of a teams that the user belongs to.

get/v3/users/{userId}/teams

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

userId, string uuid required
Example:d32d905a-ed33-46a3-a093-d8f536af9a8a

The user ID.

Query parameters

page[size], integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number], integer
Example:1

Determines which page of the entities to retrieve.

filter, object
name, LegacyStringFieldFilter

Filter using one of the following operators: eq, contains

Filter teams returned in the response.

Response

A paginated list response for a collection of teams that a user belongs to.

object required
meta, PaginatedMeta

returns the pagination information

data, UserTeamMembership[]

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "name": "IDM - Developers",
      "description": "The developers for the IDM API.",
      "system_team": false,
      "labels": {
        "env": "test"
      },
      "created_at": "1992-02-07T17:46:57.52Z",
      "updated_at": "2022-08-31T17:00:00.52Z",
      "konnect_managed": false,
      "claim_names": [
        "GroupClaimA",
        "GroupClaimB"
      ]
    }
  ]
}

Changes

    • info

      added the optional property data/items/allOf[#/components/schemas/TeamResponse]/allOf[subschema #1: Team]/konnect_managed to the response with the status

    • warning

      removed the optional property data/items/allOf[subschema #2]/claim_name from the response with the status

    • info

      added the optional property data/items/allOf[subschema #2]/claim_names to the response with the status