Update a log stream
PATCH/api/v0/streams/:id/
Edit a stream, its destination or its match rules. Requires the manage scope. Every destination field is optional: omitting config or auth keeps the stored one, and the stored config and secret are still validated together with whatever the payload changes. The delivery service is given the new spec before the response; when it refuses, the edit is rolled back and the request answers 503.
Request
Responses
- 200
- 400
- 403
- 404
- 503
The stream as it now stands, without its destination secret.
The edit was refused: a match rule, the destination config or the name is invalid, or the body is not JSON.
Missing, invalid or under-scoped API key.
No LogStream has that id, or it belongs to another team.
The log stream delivery service is unreachable or refused the change.