API ReferenceManagementTenantsPassword Settings
POST
/v1/mgmt/password/settings

Update password settings for a tenant

This endpoint allows you to update the password settings of a given tenant.

See Also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/password/settings

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

minLengthinteger

Format: "int32"

lowercaseboolean

uppercaseboolean

numberboolean

nonAlphanumericboolean

expirationboolean

expirationWeeksinteger

Format: "int32"

reuseboolean

reuseAmountinteger

Format: "int32"

lockboolean

lockAttemptsinteger

Format: "int32"

tenantIdstring

enabledboolean

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/password/settings" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "minLength": 0,
  "lowercase": true,
  "uppercase": true,
  "number": true,
  "nonAlphanumeric": true,
  "expiration": true,
  "expirationWeeks": 0,
  "reuse": true,
  "reuseAmount": 0,
  "lock": true,
  "lockAttempts": 0,
  "tenantId": "string",
  "enabled": true
}'
Was this helpful?