GET
/
v1
/
users
/
{userId}
/
teams
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/users/{userId}/teams \
  --header 'Authorization: Basic <encoded-value>'
{
  "teams": [
    {
      "id": "p9e4r",
      "aclSubject": "dyv8j",
      "aclObject": "626vg",
      "name": "Elite Team",
      "links": {
        "organisation": "/v1/organisations/mgk7g",
        "aclSubject": "/v1/acl/subjects/dyv8j",
        "aclObject": "/v1/acl/objects/626vg",
        "acl": "/v1/teams/p9e4r/acl{?subjectId}"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

userId
string
required

Response

200
application/json
200 response
teams
object[]