Add an authenticator app

The own access gets an authenticator app as second factor - with a session only.

WWriteNot idempotentbeta
POST
/v1/access/tfa/totp/createon https://api.manitu.de
Try it
Changes the account. Agents say what will happen and wait for an explicit yes before calling it.

Not offered over MCP - only to programs over REST.

One of X-API-Key, Authorization: Bearer … - never more than one in a request. More

setup_tokenstringrequiredwrite-only
min length 1max length 1024
secretstringrequiredwrite-only
pattern ^[A-Z2-7]{16,128}$
codestringrequiredwrite-only

The code the app shows now.

pattern ^[0-9]{6,8}$
descriptionstring | null

What the customer calls it, e.g. the phone.

max length 1024
is_defaultboolean

The one the sign-in asks for first. Left out: false.

tfa_idintegerrequired
typestringrequired

oath-totp: a code from an authenticator app; fido-u2f: a security key.

One of oath-totp fido-u2f
statusstringrequired

inactive: kept, but not asked for at sign-in.

One of active inactive
descriptionstring | nullrequired

What the customer wrote about it (his description), null if nothing - not its name or user name.

is_defaultbooleanrequired

The one the sign-in asks for first.

created_atstring | nullrequired
Format date-time
200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.