Get the password complexity settings
GEThttps://$CUSTOM-DOMAIN/v2/settings/password/complexity
Return the password complexity settings for the requested context
Request​
Query Parameters
ctx.orgId string
ctx.instance boolean
Responses​
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details
object
settings
object
{
"details": {
"sequence": "2",
"changeDate": "2025-03-28T12:37:40.439Z",
"resourceOwner": "69629023906488334",
"creationDate": "2025-03-28T12:37:40.439Z"
},
"settings": {
"minLength": "8",
"requiresUppercase": true,
"requiresLowercase": true,
"requiresNumber": true,
"requiresSymbol": true,
"resourceOwnerType": "RESOURCE_OWNER_TYPE_UNSPECIFIED"
}
}
- Schema
- Example (from schema)
Schema
details
object
settings
object
{
"details": {
"sequence": "2",
"changeDate": "2025-03-28T12:37:40.440Z",
"resourceOwner": "69629023906488334",
"creationDate": "2025-03-28T12:37:40.440Z"
},
"settings": {
"minLength": "8",
"requiresUppercase": true,
"requiresLowercase": true,
"requiresNumber": true,
"requiresSymbol": true,
"resourceOwnerType": "RESOURCE_OWNER_TYPE_UNSPECIFIED"
}
}
- Schema
- Example (from schema)
Schema
details
object
settings
object
{
"details": {
"sequence": "2",
"changeDate": "2025-03-28T12:37:40.440Z",
"resourceOwner": "69629023906488334",
"creationDate": "2025-03-28T12:37:40.440Z"
},
"settings": {
"minLength": "8",
"requiresUppercase": true,
"requiresLowercase": true,
"requiresNumber": true,
"requiresSymbol": true,
"resourceOwnerType": "RESOURCE_OWNER_TYPE_UNSPECIFIED"
}
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://$CUSTOM-DOMAIN/v2/settings/password/complexity' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear