Update team
PATCH
/api/user/teams/{id}
const url = 'https://hitkeep.com/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {cookie: 'hk_token=<hk_token>', 'Content-Type': 'application/json'}, body: '{"logo_url":"example","name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://hitkeep.com/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --cookie hk_token=<hk_token> \ --data '{ "logo_url": "example", "name": "example" }'Updates team settings. This is the canonical update route.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Request Body required
Section titled “Request Body required ” Media type application/json
object
logo_url
string
name
required
string
Example generated
{ "logo_url": "example", "name": "example"}Responses
Section titled “ Responses ”Status
Media type application/json
object
message
string
status
string
Example generated
{ "message": "example", "status": "example"}Invalid request
Media type application/json
object
message
string
Example generated
{ "message": "example"}Access denied
Media type application/json
object
message
string
Example generated
{ "message": "example"}