Supercheck LogoSupercheck
Monitors API

Replace monitor tags

Replace all tags of a monitor with the given set (atomic; an empty array removes all tags). Requires monitor:update. At most 10 tags per monitor; tags must exist in the current project and duplicates are rejected.

POST
/api/monitors/{id}/tags

Authorization

bearerAuth
headerAuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

Path Parameters

id*string

Monitor ID

Formatuuid

Request Body

application/json
  1. body
tagIds*array<>
Itemsitems <= 10

Response Body

Updated tag list

application/json
  1. response
tags?array<>
Example Request
curl -X POST 'https://demo.supercheck.dev/api/monitors/497f6eca-6276-4993-bfeb-53cbbbba6f08/tags' \  -H 'Content-Type: application/json' \  -d '{  "tagIds": [    "9c99701b-f191-4642-8bc0-e04053f29131"  ]}'
Example Response
{  "tags": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "color": "string"    }  ]}