Cancel an experiment, ending it without a winning variant. The experiment moves to CANCELLED status, the
supplied reason is recorded in its conclusion as the decision reason, and the experiment is unlinked from the
feature flag allocations that exposed it, which stops its exposure. An experiment that has already completed
its rollout, had its code removed, or been canceled cannot be canceled again. Canceling is not reversible: an
experiment cannot be returned to a running state afterward. It is also not idempotent: canceling an
already-canceled experiment returns 409, so a retry after a timeout cannot be distinguished from a
cancellation made by someone else.
This endpoint requires the product_analytics_experiments_write permission.
OAuth apps require the product_analytics_experiments_write authorization scope to access this endpoint.
A human-readable explanation specific to this occurrence of the error.
meta
object
Non-standard meta-information about the error
source
object
References to the source of the error.
header
string
A string indicating the name of a single request header which caused the error.
parameter
string
A string indicating which URI query parameter caused the error.
pointer
string
A JSON pointer to the value in the request document that caused the error.
status
string
Status code of the response.
title
string
Short human-readable summary of the error.
{"errors":[{"detail":"Missing required attribute in body","meta":{},"source":{"header":"Authorization","parameter":"limit","pointer":"/data/attributes/title"},"status":"400","title":"Bad Request"}]}
Authenticated caller lacks the product_analytics_experiments_write permission, lacks permission to edit this experiment, or lacks contribute permission on the feature flag owning its allocation.
## default
#
# Path parameters exportexperiment_id="550e8400-e29b-41d4-a716-446655440000" # Use a Personal Access Token or Service Access Token exportDD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"