Auth
Enroll a new PUSH token
post/auth/mfa/enrol
Request
- Base URLhttps://app.didattica.polito.it/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"description": "some identifier you chose",
"pubkey": "dGhpcyBzaG91bGQgYmUgYW4gZWNkcyBwdWJsaWMga2V5Li4uIHdoYXQgZGlkIHlvdSB0aGluayB0aGlzIHdhcz8hIPCfp5AK"
}Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"data": {
"serial": "EDUP000123456"
}
}Changes
No recorded changes to this operation across all 7 revisions of this API.