Skip to content

Create a team.

Request

Create a team.

Security
basicAuth
Bodyapplication/json
namestring, [ 1 .. 2147483647 ] charactersrequired

Team name.

Example:"Marketing"
membersArray of integers, (int64)required

Identifiers of team members.

Example:
[ 123 ]
managersArray of integers, (int64)required

Identifiers of team managers.

Example:
[ 456 ]
curl -i -X POST \
  -u '<username>:<password>' \
  https://awesome-company.calamari.io/api/teams/v1/create \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Marketing",
    "members": [
      123
    ],
    "managers": [
      456
    ]
  }'

Responses

successful operation

Bodyapplication/json
idinteger, (int64)required

Id of the created team.

Example:1
Response
{ "id": 1 }