Skip to main content
PATCH
/
action-configurations
/
{action_code}
Update Action Configuration
curl --request PATCH \
  --url https://api.authsignal.com/v1/management/action-configurations/{action_code} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "defaultUserActionResult": "ALLOW",
  "messagingTemplates": {},
  "verificationMethods": [
    "SMS"
  ],
  "promptToEnrollVerificationMethods": [
    "PASSKEY"
  ],
  "defaultVerificationMethod": "SMS"
}'
{
  "lastActionCreatedAt": "<string>",
  "actionCode": "<string>",
  "tenantId": "<string>",
  "defaultUserActionResult": "ALLOW",
  "messagingTemplates": {},
  "verificationMethods": [
    "SMS"
  ],
  "promptToEnrollVerificationMethods": [
    "PASSKEY"
  ],
  "defaultVerificationMethod": "SMS"
}

Authorizations

Authorization
string
header
required

Use your Authsignal Management API secret key as the username and leave the password empty. This key is different from the Server API key and can be found in the API Keys section of the Authsignal Portal settings page.

Path Parameters

action_code
string
required

The action code used to identify the action configuration.

Body

application/json
defaultUserActionResult
enum<string>
Available options:
ALLOW,
BLOCK,
CHALLENGE,
REVIEW
messagingTemplates
object
verificationMethods
enum<string>[]
Minimum length: 1
promptToEnrollVerificationMethods
enum<string>[]
Minimum length: 1
defaultVerificationMethod
enum<string>
Available options:
SMS,
AUTHENTICATOR_APP,
RECOVERY_CODE,
EMAIL_MAGIC_LINK,
EMAIL_OTP,
PUSH,
DEVICE,
SECURITY_KEY,
PASSKEY,
VERIFF,
IPROOV,
PALM_BIOMETRICS_RR

Response

OK

lastActionCreatedAt
string
actionCode
string
tenantId
string
defaultUserActionResult
enum<string>
Available options:
ALLOW,
BLOCK,
CHALLENGE,
REVIEW
messagingTemplates
object
verificationMethods
enum<string>[]
Minimum length: 1
promptToEnrollVerificationMethods
enum<string>[]
Minimum length: 1
defaultVerificationMethod
enum<string>
Available options:
SMS,
AUTHENTICATOR_APP,
RECOVERY_CODE,
EMAIL_MAGIC_LINK,
EMAIL_OTP,
PUSH,
DEVICE,
SECURITY_KEY,
PASSKEY,
VERIFF,
IPROOV,
PALM_BIOMETRICS_RR