curl --request DELETE \
--url https://statsigapi.net/console/v1/segments/{id} \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Segment deleted successfully."
}
curl --request DELETE \
--url https://statsigapi.net/console/v1/segments/{id} \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Segment deleted successfully."
}
Optional header to respect review settings for mutation endpoints.
id
Delete Segment Success
The response is of type object
.