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/W538F3At

Headers

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

Body

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

Response

Status

200

Headers

Content-Type: application/json; charset=utf-8
Access-Token: zmOm20sKUyBgZW3QdEAVkQ
Token-Type: Bearer
Client: gzI3NEFIEat0zLmOpcZ8Xg
Expiry: 1906580691
Uid: test@example.com

Body

{
  "success": true,
  "team": {
    "name": "ACME Inc",
    "uid": "W538F3At",
    "creator_uid": "grjMHJJt"
  }
}