POST
/
v1
/
teams
curl --request POST \
  --url https://wmc.wiremockapi.cloud/v1/teams \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "team": {
    "name": "Elite Team"
  }
}'
{
  "team": {
    "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.

Body

application/json
team
object
required

Response

201
application/json
201 response
team
object
required