Skip to content

Change your own name or e-mail address

PUT
/api/platform/profile
curl --request PUT \
--url https://forge.example.com/api/platform/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "displayName": "example", "email": "example", "version": 1 }'

With the profile’s version as read; a stale one is refused with 409. The e-mail address is optional and used for nothing yet. The username cannot change.

Media typeapplication/json
object
displayName
required
null | string
email
required
null | string
version
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"displayName": "example",
"email": "example",
"version": 1
}

OK

Media typeapplication/json
object
id
required
string format: uuid
username
required
string
displayName
required
string
email
required
null | string
isAdministrator
required
boolean
createdAt
required
string format: date-time
lastSignInAt
required
null | string format: date-time
signedInThrough
required
string
managesSignIn
required
boolean
authenticatorAddedAt
required
null | string format: date-time
version
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"username": "example",
"displayName": "example",
"email": "example",
"isAdministrator": true,
"createdAt": "2026-04-15T12:00:00Z",
"lastSignInAt": "2026-04-15T12:00:00Z",
"signedInThrough": "example",
"managesSignIn": true,
"authenticatorAddedAt": "2026-04-15T12:00:00Z",
"version": 1
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}