Activate MFA key
No permission required. Available to all roles. </Info>
Activates a pending MFA key for the authenticated user.
After you create an MFA key, the key has status Activation Pending. To complete setup, call this endpoint with the MFA key ID and a valid 6-digit time-based one-time password (TOTP) generated from the secret_key or otpauth URI returned during creation.
Once activated, the MFA key status changes to Active, and MFA is enforced on subsequent logins with user credentials.
For more information, see Multi-factor authentication.
Request
- Base URL: https://cdn.emnify.net
- URL: https://cdn.emnify.net/api/v1/user/mfa/{key_id}
- Auth: HTTP bearer
Path parameters
The unique identifier of the MFA key to activate. This ID is returned when you create the MFA key.
Request body
Response
MFA key activated successfully. No content returned.
Changes
No recorded changes to this operation across all 1 revision of this API.