Skip to main content
PATCH
Update a log drain

Authorizations

x-brimble-key
string
header
required

API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.

Path Parameters

drainId
string
required

Query Parameters

teamId
string

Team to act in. Omit for your personal workspace. API keys created for a team use that team automatically.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6a81bed11470bfcd2a5dbcfa"

Body

application/json
name
string

Name cannot be empty

Maximum string length: 64
type
enum<string>
Available options:
https,
s3
url
string
enabled
boolean
headers
object
sources
enum<string>[]

Sources must be a non-empty array

Minimum array length: 1
Available options:
app,
system,
http
s3
object
teamId
string

Team to act in. Omit for your personal workspace.

Pattern: ^[a-fA-F0-9]{24}$

Response

Log drain updated successfully

message
string
required
Example:

"Log drain updated successfully"

data
object
required
Last modified on October 10, 2026