Analytics Ingest Keys
Update an ingest key's label, origin allowlist, or rate limit.
Changed onallowed_origins and rate_limit_per_minute are three-state: omit to leave unchanged, send null to clear, send a value to replace. Clearing allowed_origins allows any origin; clearing rate_limit_per_minute removes the limit.
patch/projects/{project_id}/analytics/ingest-keys/{key_id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
key_idinteger required
Analytics ingest key ID
Request body
Response
Ingest key updated
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
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking