Skip to content

Confirm your new authenticator app with its first code

POST
/api/platform/profile/authenticator/replace/confirm
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.

Media typeapplication/json
object
code
required
string

Example generated

{
"code": "example"
}

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"
}