> For the complete documentation index, see [llms.txt](https://docs.ibexa.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ibexa.ai/developers/rest-api/users/update-user-me.md).

# Update User Me

Update current user. Sending `preferred_locale` as `null` clears it; omitting it leaves the stored value untouched.

```json
{"openapi":"3.1.0","info":{"title":"Ibexa Agentic Marketing Platform","version":"0.1.0"},"security":[{"OAuth2PasswordBearer":[]}],"components":{"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"/api/v1/login/access-token"}}}},"schemas":{"UserUpdateMeRequestSchema":{"properties":{"full_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Full Name"},"email":{"anyOf":[{"type":"string","maxLength":255,"format":"email"},{"type":"null"}],"title":"Email"},"job_position":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Job Position"},"job_activities":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Job Activities"},"newsletter_consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Newsletter Consent"},"preferred_locale":{"anyOf":[{"$ref":"#/components/schemas/PreferredLocale"},{"type":"null"}],"description":"Must be one of the product's supported UI locales"}},"type":"object","title":"UserUpdateMeRequestSchema","description":"Request schema for updating current user."},"PreferredLocale":{"type":"string","enum":["en-US","es-ES","fr-FR","de-DE"],"title":"PreferredLocale","description":"Locales the product's UI is currently translated into."},"UserMeResponseSchema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"User ID"},"email":{"type":"string","title":"Email","description":"User email"},"status":{"$ref":"#/components/schemas/UserStatus","description":"User account status"},"is_superuser":{"type":"boolean","title":"Is Superuser","description":"Whether the user is a superuser"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name","description":"User's full name"},"organisation_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Organisation Id","description":"Organisation ID"},"job_position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Position","description":"User's job position"},"job_activities":{"items":{"type":"string"},"type":"array","title":"Job Activities","description":"User's job activities"},"newsletter_consent":{"type":"boolean","title":"Newsletter Consent","description":"Newsletter consent","default":false},"preferred_locale":{"anyOf":[{"$ref":"#/components/schemas/PreferredLocale"},{"type":"null"}],"description":"User's preferred locale for the product UI"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url","description":"Cacheable URL to the user's avatar, or null if none is set"}},"type":"object","required":["id","email","status","is_superuser"],"title":"UserMeResponseSchema","description":"Response schema for current user information."},"UserStatus":{"type":"string","enum":["ACTIVE","INACTIVE","BLOCKED"],"title":"UserStatus","description":"Account status of a user.\n\nState machine transitions:\n- INACTIVE → ACTIVE (activate)\n- ACTIVE → INACTIVE (deactivate)\n- ACTIVE → BLOCKED (block)\n- BLOCKED → ACTIVE (unblock)"}}},"paths":{"/api/v1/users/me":{"patch":{"tags":["users","public"],"summary":"Update User Me","description":"Update current user. Sending `preferred_locale` as `null` clears it;\nomitting it leaves the stored value untouched.","operationId":"users-update_user_me","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateMeRequestSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMeResponseSchema"}}}},"400":{"description":"Invalid request payload or parameters","content":{"application/json":{}}},"403":{"description":"User lacks permission","content":{"application/json":{}}}}}}}}
```
