Leave a Hub
Deletes your membership for a hub, rendering it inaccessible to your account
Returns
Returns a Task Descriptor Object, otherwise returns an Error.
POST /v1/hub/current/tasks
Example Request
$ curl https://api.cycle.io/v1/hubs/current/tasks \-H"Authorization: Bearer API_KEY"\-H"X-HUB-ID: HUB_ID"\-X POST
Example Response
{"data": {"action": "leave","job_id": "5d01b9b3db2ab00001508cd8"}}