Update a destinationCopy Pageput https://{hostname}/api/log-streaming/v1/destinations/{destinationId}Update the details of the destination.Path ParamsdestinationIdintegerrequiredUniquely identifies a destination.Body ParamsKafka destinationHydrolix destinationLoki destinationSpecifies a Kafka collection location for streamed logs.compressionstringenumThis sets the compression type to GZIP.GZIPAllowed:GZIPenablebooleanDefaults to trueEnables the destination. If disabled, logs don't stream to the destination.truefalsehostsarray of stringsrequiredlength between 1 and 4A set of up to four hostnames.hosts* stringADD stringmessageFormatstringenumDefaults to RAWDefines the message format sent to the Kafka topic. Supports JSON and RAW formats. If not specified, RAW is the default.JSONRAWAllowed:JSONRAWnamestringrequiredlength between 1 and 128A name that uniquely identifies the destination.HeadersIf-MatchstringrequiredEnables 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.acceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 200The response reflects the updated destination. 400Bad request 403Forbidden 404Not found 409ConflictUpdated 4 months ago