Skip to main content
GET
/
v1
/
users
/
{userId}
/
teams
Get all teams readable by a user
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/users/{userId}/teams \
  --header 'Authorization: <api-key>'
{
  "teams": [
    {
      "id": "<string>",
      "name": "<string>",
      "links": {
        "organisation": "<string>",
        "aclSubject": "<string>",
        "aclObject": "<string>",
        "acl": "<string>"
      },
      "aclObject": "<string>",
      "aclSubject": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Your API key prefixed by 'Token '

Path Parameters

userId
string
required

Query Parameters

q
string

A filter for the retrieved items. Only items whose name contains the filter value will be retrieved. The filter is case insensitive.

Response

200 response

teams
object[]