Set your display name
const url = 'https://beta-api.plune.ai/v1/me';const options = { method: 'PATCH', headers: { cookie: 'plune_session=<plune_session>', 'Content-Type': 'application/json' }, body: '{"name":"Olena Kovalenko"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://beta-api.plune.ai/v1/me \ --header 'Content-Type: application/json' \ --cookie plune_session=<plune_session> \ --data '{ "name": "Olena Kovalenko" }'Settings → General, «Your name» (api.ts → setMyName). The name is what every screen shows where a row names you — a case you wrote, a run you launched, a result you marked, the Members list — in place of your address; null clears it. Session-only, as the tokens are: a leaked CLI token must not be able to rename you.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”The one thing a person may say about themselves. null clears the name; the address stands in again.
object
Trimmed; 1 to 100 characters, or null.
Examples
{ "name": "Olena Kovalenko"}Responses
Section titled “ Responses ”The signed-in user, renamed
object
The display name (B8-team T3) — what every screen shows where a row names this person, in place of the address. null until given on Settings → General.
What this account is allowed to be, e.g. user or owner. Open-ended: new roles appear without a client release.
Example
{ "userId": "u-shop", "role": "user", "name": "Olena Kovalenko"}Not JSON, or a name that is empty or over 100 characters
object
Example
{ "error": "validation failed — name: a name cannot be empty — send null to clear it"}No / invalid session
Session valid but the user no longer exists
object
Example generated
{ "error": "example"}Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over