Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)
Default authentication mechanism
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
The delivery log format
json, ndjson "json"
The log drain url
1static, lambda, build, edge, external, firewall Headers to be sent together with the request
1 - 50 elements1preview, production Custom secret of log drain
The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points
0.01 <= x <= 1Must be a multiple of 0.01The custom name of this log drain.
The response is of type object.