This endpoint is used to delete a segment. The request method of this call needs to be "DELETE". Please note that deleting a segment will also remove all the subscribers from that particular segment. The subscribers will not be deleted from the database. They may be added to more segments later on.

The segment id of the segment is passed in the URL in the API call.

Response Description:

Status: To denote whether the request succeeded or not. Values can be 'success' or 'failure'.

Message: Present in case of failure. Used to denote reason of failure.