API ReferenceManagementTotp Management
GET
/v1/mgmt/totp/settings

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Get the project's TOTP settings, using a valid management key.

curl -X GET "https://api.descope.com/v1/mgmt/totp/settings"
{  "enabled": true,  "issuerLabelTemplate": "string",  "accountNameTemplate": "string"}
/** * TOTP (Terraform: descope_totp_settings). *  Patch semantics: omitted fields are left untouched; present fields are written. *  The {{tenant.*}} placeholders resolve to the tenant selected for the authentication, or to the *  user's only tenant when they belong to exactly one. They render empty when neither applies. */export interface Response {enabled?: boolean/** * Issuer label shown in the authenticator app, e.g. {{projectName}} or {{tenant.name}}. *  Supports {{projectName}}, {{tenantName}}, {{tenant.name}} and {{tenant.id}}. *  When empty, the project name is used. */issuerLabelTemplate?: string/** * Account name shown in the authenticator app, e.g. {{user.email}} or {{user.customAttributes.employeeId}}. *  Supports {{user.email}}, {{user.phone}}, {{user.name}}, {{user.loginId}}, {{user.customAttributes.<name>}}, *  {{tenant.name}} and {{tenant.id}}. *  When empty, or when it renders empty for a user, the login ID is used. */accountNameTemplate?: string}
Was this helpful?