Update a destination

Update the details of the destination.

Path Params
integer
required

Uniquely identifies a destination.

Body Params

Specifies a Kafka collection location for streamed logs.

string
enum

This sets the compression type to GZIP.

Allowed:
boolean
Defaults to true

Enables the destination. If disabled, logs don't stream to the destination.

hosts
array of strings
required
length between 1 and 4

A set of up to four hostnames.

hosts*
string
enum
Defaults to RAW

Defines the message format sent to the Kafka topic. Supports JSON and RAW formats. If not specified, RAW is the default.

Allowed:
string
required
length between 1 and 128

A name that uniquely identifies the destination.

Headers
string
required

Enables concurrency control. When you GET the data, store the response's ETag header. When updating the data, pass it back in an If-Match request header. If the data has changed since you last accessed it, the operation fails with a 412 error.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json