# "Client" Endpoints - DELETE Delete client

**URL:** <https://community.toggl.com/t/client-endpoints-delete-delete-client/362>\
**Category:** API References\
**Tags:** clients, api, endpoints, delete\
**Created:** [December 2, 2024, 3:52pm UTC](https://community.toggl.com/t/client-endpoints-delete-delete-client/362 "2024-12-02T15:52:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Support](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/support/32/1577_2.png) [@Support](https://community.toggl.com/u/Support)\
**Post date:** [December 2, 2024, 3:52pm UTC](https://community.toggl.com/t/client-endpoints-delete-delete-client/362/1 "2024-12-02T15:52:24Z")

</div>

## DELETE Delete client[​](https://engineering.toggl.com/docs/api/clients/#delete-delete-client)

```auto
https://api.track.toggl.com/api/v9/workspaces/{workspace_id}/clients/{client_id}

```

Delete workspace client.

- cURL
- Go
- Ruby
- JavaScript
- Python
- Rust

```auto
extern crate tokio;extern crate serde_json;use reqwest::{Client};use reqwest::header::{CONTENT_TYPE};#[tokio::main]async fn main() -> Result<(), reqwest::Error> { let client = Client::new().basic_auth("<email>", "<password>"); let json = client.request(Method::DELETE, "https://api.track.toggl.com/api/v9/workspaces/{workspace_id}/clients/{client_id}".to_string()) .header(CONTENT_TYPE, "application/json") .send() .await? .json() .await?; println!("{:#?}", json); Ok(())}

```

### Parameters[​](https://engineering.toggl.com/docs/api/clients/#parameters-4)

#### Path[​](https://engineering.toggl.com/docs/api/clients/#path-4)

| name | type | required | description |
| --- | --- | --- | --- |
| workspace\_id | integer | true | Numeric ID of the workspace |
| client\_id | integer | true | Numeric ID of the client |

### Response[​](https://engineering.toggl.com/docs/api/clients/#response-4)

#### 200[​](https://engineering.toggl.com/docs/api/clients/#200-4)

Successful operation.

#### 403[​](https://engineering.toggl.com/docs/api/clients/#403-4)

Forbidden

#### 404[​](https://engineering.toggl.com/docs/api/clients/#404-2)

No client with ID {client\_id} was found

#### 500[​](https://engineering.toggl.com/docs/api/clients/#500-4)

Internal Server Error
