For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update Password Complexity

Updates the project's membership password complexity policy.

Membership settings control how authentication and authorization behave for your project — allowed sign-in methods, registration rules, password complexity, and passkey options.

This endpoint updates the password complexity — only the fields you send are changed.

Updates the project's membership password complexity policy.

put
Authorizations
HTTPRequired

JWT Bearer Authorization

Path parameters
versionstring · nullableRequired

The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v3

Body

Updates the project's membership password complexity policy.

minLengthinteger · int32Optional

Minimum password length.

maxLengthinteger · int32 · nullableOptional

Maximum password length, if capped.

minNumbersinteger · int32 · nullableOptional

Minimum number of numeric characters required.

maxNumbersinteger · int32 · nullableOptional

Maximum number of numeric characters allowed.

minUpperinteger · int32 · nullableOptional

Minimum number of uppercase characters required.

maxUpperinteger · int32 · nullableOptional

Maximum number of uppercase characters allowed.

minLowerinteger · int32 · nullableOptional

Minimum number of lowercase characters required.

maxLowerinteger · int32 · nullableOptional

Maximum number of lowercase characters allowed.

minSpecialinteger · int32 · nullableOptional

Minimum number of special characters required.

maxSpecialinteger · int32 · nullableOptional

Maximum number of special characters allowed.

allowedSpecialstring · nullableOptional

The set of characters counted as 'special', if restricted.

projectIdstringRequired

ID of your project. Can be passed in a header as norbix-project-id.

envstring · nullableOptional

Target environment for this request (e.g. TEST, STAGING). Optional — when omitted the request runs against PROD. Can be passed in a header as norbix-env.

cultureCodestring · nullableOptional

Specify culture code when your response from the API should be localised. E.g.: en

timeZoneIdstring · nullableOptional

TimeZone

correlationIdstring · nullableOptional

CorrelationId for each request

Responses
200

OK

application/json
resultbooleanOptional
put/{version}/membership/authorization/password-complexity
PUT /{version}/membership/authorization/password-complexity HTTP/1.1
Host: hub.norbix.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 306

{
  "minLength": 1,
  "maxLength": 1,
  "minNumbers": 1,
  "maxNumbers": 1,
  "minUpper": 1,
  "maxUpper": 1,
  "minLower": 1,
  "maxLower": 1,
  "minSpecial": 1,
  "maxSpecial": 1,
  "allowedSpecial": "text",
  "projectId": "text",
  "env": "text",
  "resolvedEnv": {
    "value": "text",
    "isProd": true
  },
  "cultureCode": "text",
  "timeZoneId": "text",
  "correlationId": "text"
}
200

OK

{
  "responseStatus": {
    "isSuccess": true
  },
  "result": true
}

In the dashboard

Manage this visually in Norbix Cloud — see Membership → Settings.

Use it from code

Every Norbix SDK exposes this endpoint as a method — see Update Password Complexity in the SDK reference, with examples in every language.

Last updated