Skip to main content

Remove watch target

POST/api/watch/targets/{name}/remove

Removes a target from the watch list. Protection: token. Recorded incidents stay.

Authorizations

Authorizationstringheaderrequired

The token you start the server with: homebutler serve --token <token>, or web.token in the config file. Send it as Authorization: Bearer <token>. When the server has a token, every /api/ route except the CORS preflight requires it, reads included.

Path parameters

namestringrequired

The container of a target, from Get watch list.

Example: flaky

Response

200 · application/json

The target was removed.

containerstringrequired

The target name.

removedbooleanrequired

true.