PUT
/
v1
/
teams
/
{team}
cURL
curl --request PUT \
  --url https://api.comm.com/api/v1/teams/{team} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "currency": "EUR"
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "created_at": "<string>",
    "meta": {
      "seller": {
        "margin_type": "percentage",
        "margin_value": 30
      },
      "default_timezone": "<string>",
      "green_invoice_client_id": "<string>",
      "onboarding": [
        "<string>"
      ],
      "voice_lead_submitter": [
        "<string>"
      ]
    },
    "is_current": false,
    "balance": 123,
    "currency": "<string>",
    "role": "<string>",
    "members_count": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team
string<uuid>
required

The team ID

Body

application/json

Response

200
application/json

UserTeamData

The response is of type object.