# “Me” Endpoints - PUT

**URL:** https://community.toggl.com/t/me-endpoints-put/162
**Category:** API References
**Tags:** parameters, me-endpoint, put, api
**Created:** [November 21, 2024, 12:23pm UTC](https://community.toggl.com/t/me-endpoints-put/162 "2024-11-21T12:23: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, 12:23pm UTC](https://community.toggl.com/t/me-endpoints-put/162/1 "2024-11-21T12:23:26Z")

</div>

## PUT Me[​](https://engineering.toggl.com/docs/api/me/#put-me)

```auto
https://api.track.toggl.com/api/v9/me

```

Updates details for the current user.

- 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::PUT, "https://api.track.toggl.com/api/v9/me".to_string()).json(&serde_json::json!(\{"beginning_of_week":"integer","country_id":"integer","current_password":"string","default_workspace_id":"integer","email":"string","fullname":"string","password":"string","timezone":"string"\})) .header(CONTENT_TYPE, "application/json") .send() .await? .json() .await?; println!("{:#?}", json); Ok(())}

```

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

#### Body[​](https://engineering.toggl.com/docs/api/me/#body)

| Name | Type | Description |
| --- | --- | --- |
| beginning\_of\_week | integer | User’s first day of the week. Sunday: 0, Monday:1, etc. |
| country\_id | integer | User’s country ID |
| current\_password | string | User’s current password (used to change the current password) |
| default\_workspace\_id | integer | User’s default workspace ID |
| email | string | User’s email address |
| fullname | string | User’s full name |
| password | string | User’s new password (current one must also be provided) |
| timezone | string | User’s timezone |

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

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

| Name | Type | Description |
| --- | --- | --- |
| api\_token | string | will be omitted if empty |
| at | string | - |
| beginning\_of\_week | integer | - |
| country\_id | integer | - |
| created\_at | string | - |
| default\_workspace\_id | integer | - |
| email | string | - |
| fullname | string | - |
| has\_password | boolean | - |
| id | integer | - |
| image\_url | string | - |
| openid\_email | string | - |
| openid\_enabled | boolean | - |
| options | object | will be omitted if empty |
| timezone | string | - |
| updated\_at | string | - |

##### options[​](https://engineering.toggl.com/docs/api/me/#options-1)

#### 400[​](https://engineering.toggl.com/docs/api/me/#400)

Possible error messages:

- Current password is not valid
- Current password must be present to change password
- Invalid beginning\_of\_week
- Invalid country\_id
- Invalid default\_workspace\_id
- Invalid email
- Invalid fullname
- Invalid timezone
- Password should be at least 6 characters
- user with this email already exists

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

User does not have access to this resource.
