GET
/
api
/
svc
/
v1
/
teams
/
user
curl --request GET \
  --url https://{controlPlaneURL}/api/svc/v1/teams/user \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "teamName": "<string>",
      "description": "<string>",
      "tenantName": "<string>",
      "createdBySubject": {
        "subjectId": "<string>",
        "subjectType": "user",
        "subjectSlug": "<string>",
        "subjectDisplayName": "<string>"
      },
      "members": [
        "<string>"
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "manifest": {
        "type": "team",
        "name": "<string>",
        "members": [
          "<string>"
        ]
      }
    }
  ],
  "pagination": {
    "total": 100,
    "offset": 0,
    "limit": 10
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:100

Number of items per page

Required range: 1 <= x <= 1000
Example:

10

offset
integer
default:0

Number of items to skip

Required range: x >= 0
Example:

0

Response

200 - application/json
Returns an array of teams associated with the user or tenant And also the response includes paginated data
data
object[]
required

Teams

pagination
object
required

Pagination Information