API ReferenceManagementPassword Management
GET
/v2/mgmt/password/settings

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

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

curl -X GET "https://api.descope.com/v2/mgmt/password/settings"
{  "enabled": true,  "minLength": 0,  "lowercase": true,  "uppercase": true,  "number": true,  "nonAlphanumeric": true,  "anyLetter": true,  "disallowedCharacters": "string",  "disallowEmailMatch": true,  "expiration": true,  "expirationWeeks": 0,  "reuse": true,  "reuseAmount": 0,  "lock": true,  "lockAttempts": 0,  "tempLock": true,  "tempLockAttempts": 0,  "tempLockDuration": 0,  "enablePasswordStrength": true,  "passwordStrengthScore": 0,  "maskError": true,  "emailServiceProvider": "string",  "emailTemplateId": "string"}
/** * Password (Terraform: descope_password_settings). Carries the same representation used in *  exported snapshots, and the Get response and Set request are the same message. *  Patch semantics: omitted fields are left untouched; present fields are written. */export interface Response {enabled?: booleanminLength?: numberlowercase?: booleanuppercase?: booleannumber?: booleannonAlphanumeric?: booleananyLetter?: booleandisallowedCharacters?: stringdisallowEmailMatch?: booleanexpiration?: booleanexpirationWeeks?: numberreuse?: booleanreuseAmount?: numberlock?: booleanlockAttempts?: numbertempLock?: booleantempLockAttempts?: numbertempLockDuration?: numberenablePasswordStrength?: booleanpasswordStrengthScore?: numbermaskError?: booleanemailServiceProvider?: string/** * Active template selection by id. Absent = keep the current selection; "" = reset to the *  built-in System template; a template id = select that stored template. Note that the same *  stored templates serve both the magic link and enchanted link reset flavors. */emailTemplateId?: string}
Was this helpful?