pinpoint_delete_segment function

Deletes a segment from an application