---
title: "Delete team API client REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Delete team API client, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/apiuserteamsidapi-clientsclientid/delete/"
---

# Delete team API client REST API

DELETE

/api/user/teams/{id}/api-clients/{clientId}

FetchcURL

```
const url = 'http://127.0.0.1:25737/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/api-clients/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';
const options = {method: 'DELETE', headers: {cookie: 'hk_token=<hk_token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```
curl --request DELETE \
  --url http://127.0.0.1:25737/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/api-clients/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
  --cookie hk_token=<hk_token>
```

-

Deletes a team-owned API client.

## Authorizations

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

## Parameters

### Path Parameters

**id**

required

string format: uuid

**clientId**

required

string format: uuid

## Responses

### 204

Deleted

[Previous Update team API client](https://hitkeep.com/api/operations/apiuserteamsidapi-clientsclientid/put/)[Next Roll team API client token](https://hitkeep.com/api/operations/apiuserteamsidapi-clientsclientidrotate/)
