# “Time entries” Endpoints - DELETE Time Entries

**URL:** <https://community.toggl.com/t/time-entries-endpoints-delete-time-entries/188>\
**Category:** API References\
**Tags:** time-entries, api, parameters, me-endpoint, delete\
**Created:** [November 21, 2024, 1:02pm UTC](https://community.toggl.com/t/time-entries-endpoints-delete-time-entries/188 "2024-11-21T13:02:26Z")\
**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:** [November 21, 2024, 1:02pm UTC](https://community.toggl.com/t/time-entries-endpoints-delete-time-entries/188/1 "2024-11-21T13:02:26Z")

</div>

```auto
https://api.track.toggl.com/api/v9/workspaces/{workspace_id}/time_entries/{time_entry_id}

```

Deletes a workspace time entry.

- 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}/time_entries/{time_entry_id}".to_string()) .header(CONTENT_TYPE, "application/json") .send() .await? .json() .await?; println!("{:#?}", json); Ok(())}

```

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

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

| name | type | required | description |
| --- | --- | --- | --- |
| workspace\_id | integer | true | Numeric ID of the workspace |
| time\_entry\_id | integer | true | TimeEntry ID. |

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

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

Returns only status code.

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

User does not have access to this resource.

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

Internal Server Error
