---
title: "Me"
method: PUT
path: "/me"
tags: ["me"]
---

# Me

`PUT /me`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/me`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/me/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates details for the current user.

## Request body

- MePayload
  - `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, email: 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 `200`

Successful operation.

- ModelsTogglUser
  - `api_token` string: will be omitted if empty
  - `at` string, date-time
  - `beginning_of_week` integer
  - `country_id` integer
  - `created_at` string, date-time
  - `default_workspace_id` integer
  - `email` string, email
  - `fullname` string
  - `has_password` boolean
  - `id` integer
  - `image_url` string
  - `openid_email` string, email
  - `openid_enabled` boolean
  - `options` ModelsOptions
  - `timezone` string
  - `updated_at` string, date-time

## Other responses

- `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`: User does not have access to this resource.

---

[API](https://skmtc.dev/toggl/apis/toggl-api.md) - [All operations](https://skmtc.dev/toggl/apis/toggl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toggl/apis/toggl-api/revisions/3085aee16990?raw)
