The Open API specification for Synapse is now available for download!

Download Open API Spec

POST /2fa

Finalize 2FA enrollment, activating the secret associated with the id in the request. This endpoint can be use to replace an existing 2FA secret previously enabled.

Resource URL

Resource Information
Authentication Required
Required OAuth Scopes modify , authorize
Request Object TotpSecretActivationRequest
Response Object TwoFactorAuthStatus