{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Segment `name` has to be unique. A user can not create a new segment with an existing segment name.","properties":{"path":{"type":"object","properties":{"segment_id":{"type":"string"}},"required":["segment_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/SegmentUpdate"}},"required":["path"],"additionalProperties":false,"definitions":{"SegmentUpdate":{"title":"segment_update","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the segment."},"query_dsl":{"type":"string","description":"SQL query which will filter contacts based on the conditions provided"}}}}},"name":"Update Segment","id":"sendgrid.mc_segments_2.0.updatesegment","example":{"path":{"segment_id":"example"}},"maxRequests":1,"summary":false}}