Update data stream
PUT {{baseUrl}}/stream/:id?aid=1234
Updates a configured data stream using its ID. The fields are overwritten, not appended.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aid | number | A unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. |
Request Body
{"customHeaders"=>{"Authorization"=>"*****", "Content-Type"=>"*****"}, "tagMatch"=>[{"key"=>"keyA", "value"=>"valueA"}, {"key"=>"keyB", "value"=>"valueB"}], "testMatch"=>[{"domain"=>"cea"}, {"domain"=>"endpoint"}], "enabled"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"342ieu09","enabled":true,"_links":{"self":{"href":"https://api.thousandeyes.com/v7/streams/575766da-9664-4e85-94fe-facbe1154799"}},"type":"opentelemetry","endpointType":"grpc","streamEndpointUrl":"https://api.thousandeyes.otel-collector","dataModelVersion":"v1","customHeaders":{"Authorization":"*****","Content-Type":"*****"},"tagMatch":[{"key":"keyA","value":"valueA"},{"key":"keyB","value":"valueB"}],"testMatch":[{"domain":"cea"},{"domain":"endpoint"}],"auditOperation":{"createdBy":3962,"createdDate":1679677853573,"updatedBy":3962,"updatedDate":1679677853573}}