Teams

Update a team name.

Changed on

Updates the name of a team. Only the team owner or a member with the update permission can perform this action.

put/api/v1/teams

Request

Request body

team_namestring

New team name

Example request

{
  "team_name": "My Team"
}

Response

Team retrieved successfully

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "id": 1,
    "owner_id": 1,
    "name": "My Team",
    "created_at": "2023-04-30 16:43:53",
    "updated_at": "2023-04-30 16:43:53"
  }
}

Changes