Confirm a code again for the console's work
POST
/api/platform/auth/step-up
const url = 'https://forge.example.com/api/platform/auth/step-up';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/auth/step-up \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "code": "example" }'The console’s work asks for one from the last 10 minutes.
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
accessToken
required
string
expiresIn
required
integer | string format: int32
operator
required
object
id
required
string format: uuid
username
required
string
displayName
required
string
isAdministrator
required
boolean
hasAuthenticator
required
boolean
steppedUpAt
required
null | string format: date-time
stepUpUntil
required
null | string format: date-time
Example generated
{ "accessToken": "example", "expiresIn": 1, "operator": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "username": "example", "displayName": "example", "isAdministrator": true, "hasAuthenticator": true, "steppedUpAt": "2026-04-15T12:00:00Z", "stepUpUntil": "2026-04-15T12:00:00Z" }}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"}