Get a list of existing validation rules for a tenant
offset | integer [ 0 .. 2147483647 ] Default: 0 Skip over a number of elements by specifying an offset value for the query |
limit | integer [ 0 .. 2147483647 ] Default: 10 Limit the number of elements returned in the response |
query | string A query string to filter rules based on matching criteria in fields. |
{- "rules": [
- {
- "id": "string",
- "ruleId": "string",
- "name": "string",
- "type": "RegExp",
- "validationType": "Soft",
- "state": "Enabled",
- "moduleName": "string",
- "implementationReference": "string",
- "expression": "string",
- "description": "string",
- "orderNo": 0,
- "errMessageId": "string",
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}
], - "totalRecords": 0
}
Add a rule to a tenant
id | string Rule id | ||||||||||||
ruleId | string Rule id | ||||||||||||
name required | string Rule name | ||||||||||||
type required | string Enum: "RegExp" "Programmatic" "PwnedPassword" Rule type: RegExp or Programmatic or PwnedPassword | ||||||||||||
validationType required | string Enum: "Soft" "Strong" Validation type: Strong or Soft. In case of soft rule validation failure the password processing can be continued | ||||||||||||
state required | string Enum: "Enabled" "Disabled" Rule state: Enabled or Disabled | ||||||||||||
moduleName required | string Name of the module | ||||||||||||
implementationReference | string For Programmatic rules ImplementationReference reflects the approach to call particular validation implementation whether it REST endpoint or local service | ||||||||||||
expression | string For RegExp type contains the actual expression | ||||||||||||
description | string Validation rule description | ||||||||||||
orderNo required | integer Defines the order of rule processing | ||||||||||||
errMessageId | string message identifier which should be returned to UI in case the rule validation fails | ||||||||||||
object (Metadata Schema) Metadata about creation and changes to records, provided by the server (client should not provide) | |||||||||||||
|
{- "id": "string",
- "ruleId": "string",
- "name": "string",
- "type": "RegExp",
- "validationType": "Soft",
- "state": "Enabled",
- "moduleName": "string",
- "implementationReference": "string",
- "expression": "string",
- "description": "string",
- "orderNo": 0,
- "errMessageId": "string",
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}
{- "id": "string",
- "ruleId": "string",
- "name": "string",
- "type": "RegExp",
- "validationType": "Soft",
- "state": "Enabled",
- "moduleName": "string",
- "implementationReference": "string",
- "expression": "string",
- "description": "string",
- "orderNo": 0,
- "errMessageId": "string",
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}
Enable/disable/change the rule
id | string Rule id | ||||||||||||
ruleId | string Rule id | ||||||||||||
name required | string Rule name | ||||||||||||
type required | string Enum: "RegExp" "Programmatic" "PwnedPassword" Rule type: RegExp or Programmatic or PwnedPassword | ||||||||||||
validationType required | string Enum: "Soft" "Strong" Validation type: Strong or Soft. In case of soft rule validation failure the password processing can be continued | ||||||||||||
state required | string Enum: "Enabled" "Disabled" Rule state: Enabled or Disabled | ||||||||||||
moduleName required | string Name of the module | ||||||||||||
implementationReference | string For Programmatic rules ImplementationReference reflects the approach to call particular validation implementation whether it REST endpoint or local service | ||||||||||||
expression | string For RegExp type contains the actual expression | ||||||||||||
description | string Validation rule description | ||||||||||||
orderNo required | integer Defines the order of rule processing | ||||||||||||
errMessageId | string message identifier which should be returned to UI in case the rule validation fails | ||||||||||||
object (Metadata Schema) Metadata about creation and changes to records, provided by the server (client should not provide) | |||||||||||||
|
{- "id": "string",
- "ruleId": "string",
- "name": "string",
- "type": "RegExp",
- "validationType": "Soft",
- "state": "Enabled",
- "moduleName": "string",
- "implementationReference": "string",
- "expression": "string",
- "description": "string",
- "orderNo": 0,
- "errMessageId": "string",
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}
{- "id": "string",
- "ruleId": "string",
- "name": "string",
- "type": "RegExp",
- "validationType": "Soft",
- "state": "Enabled",
- "moduleName": "string",
- "implementationReference": "string",
- "expression": "string",
- "description": "string",
- "orderNo": 0,
- "errMessageId": "string",
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}
{- "id": "string",
- "ruleId": "string",
- "name": "string",
- "type": "RegExp",
- "validationType": "Soft",
- "state": "Enabled",
- "moduleName": "string",
- "implementationReference": "string",
- "expression": "string",
- "description": "string",
- "orderNo": 0,
- "errMessageId": "string",
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}