## Delete a schedule `client.Agents.Schedules.Delete(ctx, workspaceID, agentID, id) error` **delete** `/v1/workspaces/{workspaceId}/agents/{agentId}/schedules/{id}` Deletes a schedule from an agent ### Parameters - `workspaceID string` - `agentID string` - `id string` ### Example ```go package main import ( "context" "github.com/cadenya/cadenya-go" "github.com/cadenya/cadenya-go/option" ) func main() { client := cadenya.NewClient( option.WithAPIKey("My API Key"), ) err := client.Agents.Schedules.Delete( context.TODO(), "workspaceId", "agentId", "id", ) if err != nil { panic(err.Error()) } } ```