mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-10 12:27:48 +00:00
* ISCCOMPLI-834: move 'alerts' from FullCampaign to SlimCampaign * ISCCOMPLI-834: move 'alerts' from FullCampaign to SlimCampaign * ISCCOMPLI-834: add totalCertifications and completedCertifications * ISCCOMPLI-834: add integer format * ISCCOMPLI-834: move created field from Campaign to SlimCampaign' by github action: 7023526642
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
post:
|
|
operationId: createSendToken
|
|
tags:
|
|
- MFA Controller
|
|
summary: Create and send user token
|
|
description:
|
|
This API send token request.
|
|
security:
|
|
- UserContextAuth: [idn:mfa:send]
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "../schemas/SendTokenRequest.yaml"
|
|
example:
|
|
{
|
|
"userAlias": "will.albin",
|
|
"deliveryType": "EMAIL_WORK"
|
|
}
|
|
|
|
responses:
|
|
"200":
|
|
description: Token send status.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "../schemas/SendTokenResponse.yaml"
|
|
example:
|
|
{
|
|
"requestId": "089899f13a8f4da7824996191587bab9",
|
|
"status": "SUCCESS",
|
|
"errorMessage": ""
|
|
}
|
|
"400":
|
|
$ref: "../../v3/responses/400.yaml"
|
|
"401":
|
|
$ref: "../../v3/responses/401.yaml"
|
|
"403":
|
|
$ref: "../../v3/responses/403.yaml"
|
|
"429":
|
|
$ref: "../../v3/responses/429.yaml"
|
|
"500":
|
|
$ref: "../../v3/responses/500.yaml" |