Remove

Learn how to delete a schedule.

Command

$ vela remove schedule <parameters...> <arguments...>

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the scheduleVELA_ORG, SCHEDULE_ORG
reponame of repository for the scheduleVELA_REPO, SCHEDULE_REPO
schedulename of the scheduleVELA_SCHEDULE, SCHEDULE_NAME
outputformat the output for the scheduleVELA_OUTPUT, SCHEDULE_OUTPUT

Permissions

COMING SOON!

Sample

Request

$ pwd
~/github/octocat
$ vela remove schedule --schedule hourly 

Targeted Request

$ pwd
~/github/octocat
$ vela remove schedule --org github --repo octocat --schedule hourly 

Response

schedule hourly deleted

Examples

EXAMPLES:
  1. Remove a schedule from a repository.
    $ vela remove schedule --org MyOrg --repo MyRepo --schedule daily
  2. Remove a schedule from a repository with json output.
    $ vela remove schedule --org MyOrg --repo MyRepo --schedule daily --output json
  3. Remove a schedule from a repository when config or environment variables are set.
    $ vela remove schedule