curl --request PUT \
--url https://statsigapi.net/console/v1/experiments/{id}/archive \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '{
"archiveReason": "The experiment is no longer needed"
}'
{
"message": "Experiment successfully archived."
}
curl --request PUT \
--url https://statsigapi.net/console/v1/experiments/{id}/archive \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '{
"archiveReason": "The experiment is no longer needed"
}'
{
"message": "Experiment successfully archived."
}
Optional header to respect review settings for mutation endpoints.
id
Schema for archiving an experiment
Archive Experiment Success
The response is of type object
.