Skip to content

Commit b504b10

Browse files
author
FusionAuth Automation
committed
Sync from monorepo 565c3faf9fb1
1 parent 995ad4f commit b504b10

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

openapi.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7274,6 +7274,8 @@ components:
72747274
type: string
72757275
accountTwoFactorDisable:
72767276
type: string
7277+
accountTwoFactorEdit:
7278+
type: string
72777279
accountTwoFactorEnable:
72787280
type: string
72797281
accountTwoFactorIndex:
@@ -8261,6 +8263,8 @@ components:
82618263
type: string
82628264
mobilePhone:
82638265
type: string
8266+
name:
8267+
type: string
82648268
secret:
82658269
type: string
82668270
TwoFactorRecoveryCodeResponse:
@@ -8288,6 +8292,8 @@ components:
82888292
type: string
82898293
mobilePhone:
82908294
type: string
8295+
name:
8296+
type: string
82918297
secret:
82928298
type: string
82938299
secretBase32Encoded:
@@ -8401,6 +8407,16 @@ components:
84018407
"$ref": "#/components/schemas/ZonedDateTime"
84028408
startInstant:
84038409
"$ref": "#/components/schemas/ZonedDateTime"
8410+
TwoFactorUpdateRequest:
8411+
description: Request to update an existing two-factor method for a user.
8412+
type: object
8413+
properties:
8414+
methodId:
8415+
type: string
8416+
name:
8417+
type: string
8418+
eventInfo:
8419+
"$ref": "#/components/schemas/EventInfo"
84048420
UIConfiguration:
84058421
type: object
84068422
properties:
@@ -18456,6 +18472,30 @@ paths:
1845618472
application/json:
1845718473
schema:
1845818474
"$ref": "#/components/schemas/Errors"
18475+
put:
18476+
description: Updates the two-factor method for the given user using a JSON body.
18477+
operationId: updateTwoFactorWithId
18478+
parameters:
18479+
- name: userId
18480+
in: path
18481+
schema:
18482+
type: string
18483+
required: true
18484+
description: The Id of the user to update.
18485+
requestBody:
18486+
content:
18487+
application/json:
18488+
schema:
18489+
"$ref": "#/components/schemas/TwoFactorUpdateRequest"
18490+
responses:
18491+
'200':
18492+
description: Success
18493+
default:
18494+
description: Error
18495+
content:
18496+
application/json:
18497+
schema:
18498+
"$ref": "#/components/schemas/Errors"
1845918499
"/api/user/verify-email":
1846018500
put:
1846118501
description: Re-sends the verification email to the user. If the Application

0 commit comments

Comments
 (0)