Skip to content

Patch team ​

PATCH
/v1/teams/{team_id}

Partially update team

Authorizations​

api_key
Type
API Key (header: X-Api-Key)

Parameters​

Path Parameters

team_id*

XS2event ID of the Team

Type
string
Required

Request Body​

application/json
JSON
{
  
"official_name": "Liverpool FC",
  
"sport_type": "soccer",
  
"wikipedia_slug": "Liverpool FC",
  
"popular_team": false,
  
"interesting": false,
  
"team_slug": "LIV",
  
"iso_country": "GBR",
  
"logo_filename": "liverpoolfc_lrkvr.png",
  
"colors_svg": "<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="red"/></svg>"
}

Responses​

No Content

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​