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, "currency": "<string>", "role": "<string>", "members_count": 123, "balance": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The team ID
255
EUR
USD
GBP
UserTeamData
Show child attributes
percentage
fixed