Skip to main content
PUT

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Function ID

Body

application/json

Full-replace configuration body. All fields are required on every call: the API treats PUT as a replace (RFC 7231), so omitting any field is a 422, not "keep the current value".

endpoint
string<uri>
required

HTTPS URL to push logs to

headers
object
required

Headers attached to every export push, as key-value pairs (e.g. an auth token the collector expects). Required even when empty — {} means "no headers". Encrypted at rest; never returned.

runtime_export_enabled
boolean
required

Export runtime logs (function stdout/stderr) to this destination

invocation_export_enabled
boolean
required

Export invocation records (one per HTTP request) to this destination

Response

Log export configuration replaced successfully

data
object

Metadata-only view of a function's log export destination. Header values are write-only (encrypted server-side) and never appear in any response.