fastmon Docs
Applications

Rotate Application Hashes

Fehler melden

Rotate the application's script and collector hashes. Existing embeds stop working until the snippet is updated everywhere!

AuthentifizierungBearer <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

Pfad-Parameter

app_id*App Id
Formatuuid

Response-Body

application/json

application/json

application/json

application/json

application/json

POST
/applications/{app_id}/rotate-hashes
curl -X POST "https://example.com/applications/497f6eca-6276-4993-bfeb-53cbbbba6f08/rotate-hashes"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",  "name": "string",  "environment": "prod",  "data_retention_days": 0,  "store_stitch": true,  "count_visitors_by": "stitch",  "site_policy": "open",  "source_hash": "string",  "collector_hash": "string",  "collect_sessions": true,  "collect_fetch_xhr": true,  "session_consent": "deferred",  "collect_error_messages": true,  "collect_error_frames": true,  "collect_query_keys": true,  "collect_query_values_for": [],  "pagetype_ruleset": "",  "pagetype_rules": [    {      "body_class": "string",      "page_type": "string"    }  ],  "checkout_tracking": true,  "checkout_cart_paths": [    "string"  ],  "checkout_paths": [    "string"  ],  "checkout_success_paths": [    "string"  ],  "collector_mode": "default",  "collector_endpoint": "string",  "source_version": "string",  "proxy_secret": "string",  "proxy_secret_redacted": false,  "proxy_secret_previous_set": false,  "is_active": true,  "site_count": 0,  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}