You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/src/routes/account/index.openapi.json
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -286,11 +286,40 @@
286
286
},
287
287
"type": {
288
288
"description": "The type of the MFA verification."
289
+
},
290
+
"name": {
291
+
"description": "The name of the MFA verification, if not provided, the name will be generated from user agent."
292
+
}
293
+
}
294
+
}
295
+
}
296
+
}
297
+
}
298
+
}
299
+
},
300
+
"/api/my-account/mfa-verifications/{id}/name": {
301
+
"patch": {
302
+
"tags": ["Dev feature"],
303
+
"operationId": "UpdateMfaVerificationName",
304
+
"summary": "Update a MFA verification name",
305
+
"description": "Update a MFA verification name, a logto-verification-id in header is required for checking sensitive permissions. Only WebAuthn is supported for now.",
306
+
"requestBody": {
307
+
"content": {
308
+
"application/json": {
309
+
"schema": {
310
+
"properties": {
311
+
"name": {
312
+
"description": "The name of the MFA verification."
289
313
}
290
314
}
291
315
}
292
316
}
293
317
}
318
+
},
319
+
"responses": {
320
+
"200": {
321
+
"description": "The MFA verification name was updated successfully."
0 commit comments