CreateMfaTotpDevice
POST {{baseUrl}}/users/:userId/mfaTotpDevices
Creates a new MFA TOTP device for the user. A user can have one MFA TOTP device.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations (e.g., if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
may be rejected). | |||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
{"id":"nulla non consequat","seed":"laborum in officia","userId":"incid","isActivated":true,"timeCreated":"1996-07-26T12:00:57.558Z","lifecycleState":"CREATING","inactiveStatus":11833386,"timeExpires":"2003-03-07T08:40:55.983Z"}