V2 (Preview)
cURL
curl --request POST \ --url https://api.village.do/v2/teams \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "team_id": "<string>", "logo": "<string>" } '
{ "data": { "id": "<string>", "name": "<string>", "logo": "<string>", "invite_link": "<string>" }, "metadata": { "request_id": "<string>" } }
Creates a new team or updates an existing team. Creator is automatically an admin. Updates require admin permissions. For partner app access, creates app-scoped teams.
JWT token obtained from authentication endpoint
Request body for creating or updating a team
1 - 100
1
Team updated successfully
Response after creating or updating a team
Show child attributes
Was this page helpful?