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

https://repo-prod.prod.sagebase.org/auth/v1/2fa

Resource Information
Authentication Required
Required OAuth Scopes modify , authorize
HTTP Method POST
Request Object TotpSecretActivationRequest
(application/json)
Response Object TwoFactorAuthStatus
(application/json)