fastmon Docs
Applications

Assign Application Site

Report an issue

Move an existing site into this application. The application claims the domain for ingest + releases. Re-assigning to the same application is a no-op.

The site's previous application is left in place even if it ends up with no sites — an empty application keeps its embed/config and can take on new domains later; deleting it is an explicit action (DELETE /applications/{id}).

Authorization

bearerAuth
AuthorizationBearer <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.

In: header

Path Parameters

site_id*Site Id
Formatuuid
app_id*App Id
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

PUT
/applications/{app_id}/sites/{site_id}
curl -X PUT "https://example.com/applications/497f6eca-6276-4993-bfeb-53cbbbba6f08/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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": [],  "data_retention_days": 0,  "store_stitch": true,  "count_visitors_by": "stitch"}