Creates a rule for an action configuration.
curl --request POST \
--url https://api.authsignal.com/v1/management/action_configurations/{action_code}/rules \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"isActive": true,
"priority": 49,
"type": "ALLOW",
"conditions": {},
"verificationMethods": [
"SMS"
],
"promptToEnrollVerificationMethods": [
"PASSKEY"
],
"defaultVerificationMethod": "SMS"
}'
{
"name": "<string>",
"description": "<string>",
"isActive": true,
"priority": 49,
"tenantId": "<string>",
"ruleId": "<string>",
"type": "ALLOW",
"conditions": {},
"verificationMethods": [
"SMS"
],
"promptToEnrollVerificationMethods": [
"PASSKEY"
],
"defaultVerificationMethod": "SMS"
}
The action code used to identify the action configuration.
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.authsignal.com/v1/management/action_configurations/{action_code}/rules \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"isActive": true,
"priority": 49,
"type": "ALLOW",
"conditions": {},
"verificationMethods": [
"SMS"
],
"promptToEnrollVerificationMethods": [
"PASSKEY"
],
"defaultVerificationMethod": "SMS"
}'
{
"name": "<string>",
"description": "<string>",
"isActive": true,
"priority": 49,
"tenantId": "<string>",
"ruleId": "<string>",
"type": "ALLOW",
"conditions": {},
"verificationMethods": [
"SMS"
],
"promptToEnrollVerificationMethods": [
"PASSKEY"
],
"defaultVerificationMethod": "SMS"
}