Skip to main content
PUT
/
v1
/
teams
/
{id}
Update Team
curl --request PUT \
  --url http://localhost:3000/v1/teams/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Engineering",
  "org_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}
'
{
  "team": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required
Example:

"Engineering"

org_id
string<uuid>
Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

Response

Updated

team
object