// Delete deletes a cron job.
Delete deletes a cron job.
// Delete deletes a cron job .
func (c *Client) Delete(cronID int) (out *DeleteOutput, err error) {
	v := url.Values{}
	v = c.defaultValues(v)
	v.Set("id", strconv.Itoa(cronID))
	body, err := c.call("delete", v)
	if err != nil {
		return nil, err
	}
	err = json.Unmarshal(body, &out)
	if err != nil {
		return nil, err
	}
	return out, nil
}
func ( c * Client ) Delete ( cronID int ) ( out * DeleteOutput , err error ) { v := url . Values { } v = c . defaultValues ( v ) v . Set ( " " , strconv . Itoa ( cronID ) ) body , err := c . call ( " " , v ) if err != nil { return nil , err } err = json . Unmarshal ( body , & out ) if err != nil { return nil , err } return out , nil }
Delete deletes a cron job.
Delete deletes a cron job .