Skip to content

Start replacing your authenticator app

POST
/api/platform/profile/authenticator/replace
curl --request POST \
--url https://forge.example.com/api/platform/profile/authenticator/replace \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "code": "example" }'

With a code from your current app. Answers the new app’s secret and the address for its QR code; the current app keeps working until the new one is confirmed.

Media typeapplication/json
object
code
required
string

Example generated

{
"code": "example"
}

OK

Media typeapplication/json
object
secret
required
string
uri
required
string

Example generated

{
"secret": "example",
"uri": "example"
}

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