Confirm your new authenticator app with its first code
POST
/api/platform/profile/authenticator/replace/confirm
const url = 'https://forge.example.com/api/platform/profile/authenticator/replace/confirm';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"code":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://forge.example.com/api/platform/profile/authenticator/replace/confirm \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "code": "example" }'Within 10 minutes of starting. The new app replaces the current one.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
code
required
string
Example generated
{ "code": "example"}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"}