Update a project log drain
put
/v2/projects/{ref}/analytics/log-drains/{id}OAuth scopes
- analytics_config:write
The fine-grained token must include the following permissions to access this endpoint:
- analytics_config_write
Path parameters
- refRequiredstring
Project ref
- idRequiredstring
Log drains identifier
Body
- dataRequiredobject
Response codes
- 200
- 401
- 403
- 429
- 500
Response (200)
{ "data": { "type": "log_drain", "id": "lorem", "attributes": { "name": "lorem", "description": "lorem", "config": { "url": "lorem", "http": "http1", "gzip": true, "headers": { "property1": "lorem", "property2": "lorem" } }, "backend_type": "postgres" } }}