Change your own name or e-mail address
PUT
/api/platform/profile
const url = 'https://forge.example.com/api/platform/profile';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"displayName":"example","email":"example","version":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
displayName
required
null | string
email
required
null | string
version
required
null | integer | string format: int32
Example generated
{ "displayName": "example", "email": "example", "version": 1}Responses
Section titled “Responses”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
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}default
Section titled “default”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"}