User
Two-Factor Authentication
Changed onSets the authentication token seed (key) for the user. This key may be then be used in the appropriate 2FA authenticator.
put/api/3/users/{id}/2FA
Request
- Base URLhttps://<host>:<port>
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
The identifier of the user.
Example:9
Request body
string required
The authentication token seed (key) to use for the user.
Response
OK
Example response
{
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
]
}Changes
- breaking
added required request body
- info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status
- breaking