v2
latestOpenAPI 3.0.02026-07-261859071.2 MBChecks
Update a browser check
Updates a browser check.
put/v1/checks/browser/{id}
Path parameters
idstring required
Query parameters
autoAssignAlertsboolean
Determines whether a new check will automatically be added as a subscriber to all existing alert channels when it gets created.
Determines whether a new check will automatically be added as a subscriber to all existing alert channels when it gets created.
Headers
x-checkly-accountstring
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Request body
Example request
{
"name": "Check",
"locations": [
"us-east-1",
"eu-central-1"
],
"tags": [
"production"
],
"alertChannelSubscriptions": [],
"environmentVariables": [],
"script": "const { chromium } = require(\"playwright\");\n(async () => {\n\n // launch the browser and open a new page\n const browser = await chromium.launch();\n const page = await browser.newPage();\n\n // navigate to our target web page\n await page.goto(\"https://danube-webshop.herokuapp.com/\");\n\n // click on the login button and go through the login procedure\n await page.click(\"#login\");\n await page.type(\"#n-email\", \"user@email.com\");\n await page.type(\"#n-password2\", \"supersecure1\");\n await page.click(\"#goto-signin-btn\");\n\n // wait until the login confirmation message is shown\n await page.waitForSelector(\"#login-message\", { visible: true });\n\n // close the browser and terminate the session\n await browser.close();\n})();",
"privateLocations": [
"data-center-eu"
],
"sslCheckDomain": "www.acme.com"
}Response
Successful
Example response
{
"id": "e435c01a-0d6c-4cc4-baae-a5c12961aa69",
"name": "Check",
"locations": [
"us-east-1",
"eu-central-1"
],
"tags": [
"production"
],
"sslCheckDomain": "www.acme.com",
"privateLocations": [
"data-center-eu"
],
"alertChannels": {
"sms": [
{
"number": "+549110000000",
"name": "SMS Alert"
}
]
},
"environmentVariables": [
{
"key": "API_KEY"
}
]
}