API SpecificationPRIVATEAccounts
Get MFA Status
Returns whether org-account two-factor authentication is enabled for the authenticated user and how many recovery codes remain.
Required scopes: auth:account:read
Authorization
BearerAuth AuthorizationBearer <token>
JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.AccountService/GetMfaStatus" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"enabled": true,
"recoveryCodesRemaining": 0
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Get Account POST
Retrieves the full account details for the authenticated user, including connected external accounts and application enrollments. **Required scopes:** `auth:account:read`
List Accounts POST
Returns a paginated list of user accounts. Supports filtering by username. **Required scopes:** `auth:users:read`