curl --location --request DELETE 'https://api.shorterloop.com/api/v2/segments/20' \
--header 'Authorization;' \
--header 'initiativeId;'
{
"success": true,
"message": "Segment updated successfully.",
"data": {
"id": 20,
"value": "Frequent Travelers",
"updatedAt": "2024-10-24T08:19:33.000Z"
}
}