Teams

PUT /teams/:uid

Endpoint

PUT /api/v2/teams/:uid

Parameters

Name Description type
uid required Team UID string
team[name] required Team name string

Request

Route

PUT /api/v2/teams/N8grNdEy

Headers

Accept: application/json
Content-Type: application/json
Access-Token: u5xTi2JZVgdlp8EoA5VkGQ
Client: vYOy8QWPLgBW0Hhm2PiBsQ
Uid: test@example.com

Body

{
  "team": {
    "name": "ACME Inc"
  }
}

Response

Status

200

Headers

Content-Type: application/json; charset=utf-8
Access-Token: u5xTi2JZVgdlp8EoA5VkGQ
Token-Type: Bearer
Client: vYOy8QWPLgBW0Hhm2PiBsQ
Expiry: 1894737370
Uid: test@example.com

Body

{
  "success": true,
  "team": {
    "name": "ACME Inc",
    "personal": true,
    "uid": "N8grNdEy",
    "creator_uid": "hm8H3uH6"
  }
}