v1

latestSwagger 2.02026-08-06114111152.5 KB
Codeless tests

Update an existing alert

Replaces the alert configuration on a Codeless test. POST to /alert creates one; PUT updates it.

put/v1/lab/{id}/alert

Path parameters

idinteger required

Numeric Codeless test ID.

Request body

kind'EMAIL' | 'API' | 'SMS'

Alert channel.

level'IMMEDIATELY' | 'DAILY'

When to send.

contentstring

Updated destination value.

Response

Update an existing alert

successboolean required

Whether the operation succeeded.

errorsobject required

Validation errors keyed by field name. Only present when success is false.

errorstring required

Single human-readable reason, used by the older endpoints in place of errors. Only present when success is false.