curl --request PUT \
--url https://api.devhelm.io/api/v1/monitors/{monitorId}/assertions/{assertionId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"type": "<string>",
"substring": "<string>"
},
"severity": "fail"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assertionType": "status_code",
"config": {
"type": "<string>",
"substring": "<string>"
},
"severity": "fail"
}
}curl --request PUT \
--url https://api.devhelm.io/api/v1/monitors/{monitorId}/assertions/{assertionId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"type": "<string>",
"substring": "<string>"
},
"severity": "fail"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assertionType": "status_code",
"config": {
"type": "<string>",
"substring": "<string>"
},
"severity": "fail"
}
}API key (dh_live_...) or Auth0 JWT token
New assertion configuration (full replacement)
Show child attributes
New outcome severity: FAIL or WARN
fail, warn OK
Show child attributes