{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to delete a segment by `segment_id`.**\n\nNote that deleting a segment does not delete the contacts associated with the segment by default. Contacts associated with a deleted segment will remain in your list of all contacts and any other segments they belong to.","properties":{"path":{"type":"object","properties":{"segment_id":{"type":"string","format":"uuid","minLength":36,"maxLength":36}},"required":["segment_id"],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"Delete Segment","id":"sendgrid.mc_segments.deletesegment","example":{"path":{"segment_id":"00000000-0000-4000-8000-000000000000"}},"maxRequests":1,"summary":false}}