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.
JWT Bearer Authorization
The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v3
Updates the project's membership password complexity policy.
Minimum password length.
Maximum password length, if capped.
Minimum number of numeric characters required.
Maximum number of numeric characters allowed.
Minimum number of uppercase characters required.
Maximum number of uppercase characters allowed.
Minimum number of lowercase characters required.
Maximum number of lowercase characters allowed.
Minimum number of special characters required.
Maximum number of special characters allowed.
The set of characters counted as 'special', if restricted.
ID of your project. Can be passed in a header as norbix-project-id.
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.
Specify culture code when your response from the API should be localised. E.g.: en
TimeZone
CorrelationId for each request
OK
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"
}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