fastmon Docs
Sites

Update Site

Fehler melden

Update a site's own (per-domain) fields. Collection config + hashes live on the Application (one baked bundle per app) and are edited there, not per Site.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <token>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

Pfad-Parameter

site_id*Site Id
Formatuuid

Request-Body

application/json
  1. body
name?|

Display name.

domain?|

The hostname beacons are attributed to, without scheme or port.

is_active?|

Whether the domain is enabled.

tags?array<string>|

Free-form labels, used to group domains and to scope notification rules.

Response-Body

Successful Response

application/json
  1. response

A site: a pure domain / analytics unit belonging to one application.

The embed + collection config live on the application (fetch it via application_id); they are NOT mirrored here.

id*Id

Identifier of the domain.

Formatuuid
organization_id*Organization Id

The organization this domain belongs to.

Formatuuid
application_id*Application Id

The application whose embed this domain runs, and whose collection config applies to it.

Formatuuid
name*Name

Display name.

domain*Domain

The hostname beacons are attributed to, without scheme or port.

is_active*Is Active

Whether the domain is enabled.

tags?array<string>

Free-form labels, used to group domains and to scope notification rules.

Default[]
PATCH
/sites/{site_id}
curl -X PATCH 'https://api.fastmon.eu/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",  "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c",  "name": "string",  "domain": "string",  "is_active": true,  "tags": []}