Analytics Ingest Keys
Replace an ingest key's value, keeping the same row and scope.
The previous value stops working immediately — the resolution cache entry for it is evicted synchronously rather than left to expire. Any client still sending the old value will start receiving 401s, so roll out the new value before rotating.
post/projects/{project_id}/analytics/ingest-keys/{key_id}/rotate
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/projects/{project_id}/analytics/ingest-keys/{key_id}/rotate
- Auth: HTTP bearer
Path parameters
project_idinteger required
Project ID
key_idinteger required
Analytics ingest key ID
Response
Ingest key rotated
Example response
{
"created_at": "2026-01-01T00:00:00Z",
"last_used_at": "2026-01-01T00:00:00Z",
"revoked_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}Changes
No recorded changes to this operation across all 50 revisions of this API.