## Update your profile `PUT https://getkollek.com/api/me` Update the profile of the user the token belongs to. ### Body parameters - `first_name` (string, required): The first name of the user. Maximum 100 characters. - `last_name` (string, required): The last name of the user. Maximum 100 characters. - `nickname` (string, optional): An optional nickname, shown instead of the full name when set. - `email` (string, required): The email address of the user. Must be lowercase, unique, and not from a disposable email provider. - `locale` (string, required): The locale of the user. One of en, fr_FR, es_ES, de_DE, pt_BR, zh_CN or ja_JP. - `time_format_24h` (string, required): Whether the user prefers the 24-hour time format. The string true or false. **Returns:** The updated user object. ### Example request ```bash curl https://getkollek.com/api/me \ -X PUT \ -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "first_name": "Monica", "last_name": "Geller", "nickname": "Mon", "email": "monica@example.com", "locale": "en", "time_format_24h": "true" }' ``` ### Example response `Status: 200` ```json { "data": { "type": "user", "id": "1", "attributes": { "first_name": "Monica", "last_name": "Geller", "nickname": "Mon", "email": "monica@example.com", "locale": "en", "time_format_24h": true }, "links": { "self": "https://getkollek.com/api/me" } } } ```