Skip to main content

Generate MFA secret

POST 

/api/v4/users/:user_id/mfa/generate

Generates an multi-factor authentication secret for a user and returns it as a string and as base64 encoded QR code image.

Permissions

Must be logged in as the user or have the edit_other_users permission.

Request

Responses

MFA secret generation successful