Update a project log drain
put
/v2/projects/{ref}/analytics/log-drains/{id}OAuth scopes
- analytics_config:write
Path parameters
- refRequiredstring
Project ref
- idRequiredstring
Log drains identifier
Body
- dataRequiredobject
Response codes
- 200
- 401
- 403
- 429
- 500
Response (200)
1{2 "data": {3 "type": "log_drain",4 "id": "lorem",5 "attributes": {6 "name": "lorem",7 "description": "lorem",8 "config": {9 "url": "lorem",10 "schema": "lorem",11 "username": "lorem",12 "password": "lorem",13 "port": 42,14 "hostname": "lorem"15 },16 "backend_type": "postgres"17 }18 }19}