Skip to content
OpenPostDocs
OpenPostDocs
Auth

Get the unused TOTP recovery-code count after reauthentication

POST/auth/security/totp/recovery-codes/status

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/auth/security/totp/recovery-codes/status" \  -H "Content-Type: application/json" \  -d '{    "current_password": "string"  }'
{  "$schema": "https://example.com/api/v1/schemas/RecoveryCodeStatusOutputBody.json",  "remaining": 0}