Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/sam-shervin/space7/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Updates the username of the currently authenticated user.

Endpoint

PUT /api/profile/username
Requires authentication. Requests are made with a Bearer token via the Authorization header.

Request

Body parameters

username
string
required
The new username to set for the account.

Response

message
string
A confirmation message indicating the username was updated successfully.

Example

TypeScript
import { updateUsername } from "./api/Profile";

const response = await updateUsername({ username: "new_username" });

console.log(response.message);

Build docs developers (and LLMs) love