/v1/me/profileAuthUpdate the caller's profile. Currently only `displayName` is editable. An empty body is a no-op that returns the current profile. Cookie/JWT only — this is a human-self-service surface, not a PAK-mutation surface.
Request body
display_namestringNew display name. 1-128 chars. Optional — empty PATCH is a no-op.
Example: "Ada Lovelace"
Response · 200
id*string · uuidId of your account.
email*stringYour primary email, when you have one.
username*stringYour username.
display_name*stringYour display name, when set.
status*stringAccount status (e.g. `active`, `suspended`).
email_verified_at*string · date-timeTimestamp when this account verified its primary email, or null if unverified.
avatar_url*stringShort-lived (15 min) presigned GET URL for the avatar object in private object storage. NULL when no avatar has been set; the frontend then renders initials. The API mints a fresh URL on every response, so a stable bookmark of this value is not meaningful.
Example
Request
PATCH https://api.platform-auth.productcraft.co/v1/me/profile
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
{
"display_name": "Ada Lovelace"
}Response
{
"id": "00000000-0000-0000-0000-000000000000",
"email": "string",
"username": "string",
"display_name": "string",
"status": "string",
"email_verified_at": "2026-01-01T00:00:00.000Z",
"avatar_url": "string"
}