Update the signed-in user
Changes only the fields sent. lang is the language the server writes AI text and push notifications
in: a code from GET /v1/meta (matched without regard to case and stored in its canonical spelling,
so pt-br is stored as pt-BR), or null to clear it. An unknown tag is a 422 with the reason code
unsupported_language. Clients keep their own copy for instant switching and write it here when the
user changes it; on sign-in on a new device, this value wins. archive_pages (boolean) turns the
screenshot and full-page archive of newly saved links on or off; it is off by default.
bearerAuthorizationBearer <token>A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
application/json- body
lang?string|nullarchive_pages?booleanThe user, after the change
application/json- response
id*stringTrova user id (ULID); independent of the auth provider
email?string|nullcreated_at*stringdate-timeupdated_at*stringdate-timelang?|The language the user chose for text the server writes for them: AI summaries, tags and chat
answers, and push notifications. A code from GET /v1/meta, or null when not chosen (AI text then
follows the content's own language; pushes are English). Set it with PATCH /v1/me. Not the same
as an item's lang, which is the language of its content.
archive_pages?booleanWhether a screenshot and full-page archive are kept of each link the user saves. False until the
user turns it on with PATCH /v1/me; links saved while it is off have none. A plan without archives
keeps none either way.
deletion?|The pending deletion the user asked for (POST /v1/me/deletion), or null.
curl -X PATCH 'https://example.com/v1/me' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "email": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "lang": "en", "archive_pages": true, "deletion": { "requested_at": "2019-08-24T14:15:22Z", "purge_after": "2019-08-24T14:15:22Z" }}Get the signed-in user GET
Previous Page
Languages the server writes in GET
The allow-list of languages for `lang` on `PATCH /v1/me`, so clients cannot drift from the server, and the best match for the request's `Accept-Language` for a first visit. Needs no sign-in; limited to 120 requests a minute per client IP. Responses vary on `Accept-Language`.