Get Passwordcomplexity Policy
GET/policies/passwords/complexity
Returns the password complexity settings that should be used for the authenticated user. It is set either on an instance or organization level. This policy defines how the password should look.
Responses​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
policy
object
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
defines if the password MUST contain an upper case letter
defines if the password MUST contain a lowercase letter
defines if the password MUST contain a number
defines if the password MUST contain a symbol. E.g. "$"
defines if the organization's admin changed the policy
{
"policy": {
"details": {
"sequence": "2",
"creationDate": "2024-11-22T09:27:08.512Z",
"changeDate": "2024-11-22T09:27:08.512Z",
"resourceOwner": "69629023906488334"
},
"minLength": "8",
"hasUppercase": true,
"hasLowercase": true,
"hasNumber": true,
"hasSymbol": true,
"isDefault": true
}
}
- Schema
- Example (from schema)
Schema
policy
object
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
defines if the password MUST contain an upper case letter
defines if the password MUST contain a lowercase letter
defines if the password MUST contain a number
defines if the password MUST contain a symbol. E.g. "$"
defines if the organization's admin changed the policy
{
"policy": {
"details": {
"sequence": "2",
"creationDate": "2024-11-22T09:27:08.512Z",
"changeDate": "2024-11-22T09:27:08.512Z",
"resourceOwner": "69629023906488334"
},
"minLength": "8",
"hasUppercase": true,
"hasLowercase": true,
"hasNumber": true,
"hasSymbol": true,
"isDefault": true
}
}
- Schema
- Example (from schema)
Schema
policy
object
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
defines if the password MUST contain an upper case letter
defines if the password MUST contain a lowercase letter
defines if the password MUST contain a number
defines if the password MUST contain a symbol. E.g. "$"
defines if the organization's admin changed the policy
{
"policy": {
"details": {
"sequence": "2",
"creationDate": "2024-11-22T09:27:08.513Z",
"changeDate": "2024-11-22T09:27:08.513Z",
"resourceOwner": "69629023906488334"
},
"minLength": "8",
"hasUppercase": true,
"hasLowercase": true,
"hasNumber": true,
"hasSymbol": true,
"isDefault": true
}
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}