latestOpenAPI 3.0.12026-08-102423137.1 KB
80dd46738839
Activation challenges
Create an Activation challenge
Generate a new activation code that can be delivered to endcustomer by the partner.
post/v1/mfa/challenges/activation
Query parameters
invalidate_existing_codeboolean
When invalidate_existing_code=true, automatically invalidate existing code and return new code. Return 409 Conflict status, if an activation code for the given person already exists except when invalidate_existing_code=true
Request body
Example request
{
"person_id": "ec3d16cbc106f481b72d881d90c89cc5cper",
"origin": "MOBILE_APP",
"purpose": "DEVICE_BINDING",
"delivery_method": "SNAILMAIL",
"invalidate_existing_code": true
}Response
Created
Example response
{
"id": "6642d15e-8f6b-4d28-9186-cdd61d80032a",
"person_id": "55e47118b78741dbb81cdd3d372bc448cpar",
"code": "code123456abcd",
"created_at": "2022-03-18T14:50:04Z",
"expires_at": "2022-03-18T14:55:04Z",
"origin": "MOBILE_APP",
"purpose": "DEVICE_BINDING",
"delivery_method": "SNAILMAIL",
"usage_count": 1,
"max_usage_count": 5
}