APILog sources
Update a log source
Update a log source: pause or resume ingestion across its log streams. Log sources cannot be renamed — their generated names are immutable.
Path Parameters
logSourceId*string
Log source ID to update.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/log-sources/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "logSource": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "provider": "vercel", "mode": "managed", "name": "string", "streamCount": -9007199254740991, "createdAt": "2019-08-24T14:15:22Z" }}