curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/users/{userId}/teams \
--header 'Authorization: <api-key>'
{
"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}"
}
}
]
}
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/users/{userId}/teams \
--header 'Authorization: <api-key>'
{
"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}"
}
}
]
}
A filter for the retrieved items. Only items whose name contains the filter value will be retrieved. The filter is case insensitive.
200 response
The response is of type object
.