post https://api.lightstep.com/public/v0.2//projects//sampling-rate
Allows customers to configure the sample_one_in_n parameter.
This API is deprecated in favor of the Sample-Percent API. Note, the Sample-Percent API can only be used with microsats 2022-04-28_17-39-22Z and later. If this API and the Sample-Percent API are used, old microsats will use the sample_one_in_n and the new microsats will use the sample_percent.
Log in to see full request history
Responses
200The sample-one-in-n parameter was updated successfully.
400No organization parameter provided
401The API Key does not provide access to this resource, or the organization name does not exist
404Project name is not found