go-ring API Reference
OpenapiAuthentication

Verify an OAuth two-factor code

Submits a two-factor authentication code to complete OAuth sign-in.

POST
/oauth/v2/2fa/verify

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/oauth/v2/2fa/verify" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d '2fa_code=synthetic-code&csrf-token=synthetic-csrf-token&remember_me=false'
{}