---
title: "Update team REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Update team, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/apiuserteamsid/patch/"
---

# Update team REST API

PATCH

/api/user/teams/{id}

FetchcURL

```
const url = 'http://127.0.0.1:25737/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 http://127.0.0.1:25737/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

- **[cookieAuth](https://hitkeep.com/api/#cookieauth)**

## Parameters

### Path Parameters

**id**

required

string format: uuid

## Request Bodyrequired

application/json

object

**logo_url**

string

**name**

required

string

##### Examplegenerated

```
{
  "logo_url": "example",
  "name": "example"
}
```

## Responses

### 200

Status

application/json

object

**message**

string

**status**

string

##### Examplegenerated

```
{
  "message": "example",
  "status": "example"
}
```

### 400

Invalid request

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

### 403

Access denied

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

[Previous Update team (deprecated)](https://hitkeep.com/api/operations/apiuserteamsid/put/)[Next List team API clients](https://hitkeep.com/api/operations/apiuserteamsidapi-clients/get/)
