Generated at:
Manage Sampling Rules
Delete a sampling rule by origin or ID
delete
/api/sampling-rules/{originOrId}Deletes a specific sampling rule identified by its origin label or UUID.
Path parameters 1
originOrIdrequiredSampling rule origin or UUID
string
Query parameters 1
datasetWhen omitted, the request uses the Dash0-Dataset header. See Selecting a dataset.
References Dataset
The slug of a dataset, such as default. Where a request may omit it, "Selecting a dataset" in the API introduction describes how the dataset is chosen.
stringpattern
"^[a-zA-Z0-9_-]{3,26}$"bash
Sample requestcurl --request DELETE 'https://api.eu-west-1.aws.dash0.com/api/sampling-rules/123e4567-e89b-42d3-a456-426614174000' \
--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}"Responses
Successfully deleted