Skip to main content

Remove

Command

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

For more information, you can run vela remove schedule --help.

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
tip

This command also supports setting the following parameters via a configuration file:

  • org
  • repo
  • output

For more information, please review the CLI config documentation.

Permissions

COMING SOON!

Sample

warning

This section assumes you have already installed and setup the CLI.

To install the CLI, please review the installation documentation.

To setup the CLI, please review the authentication documentation.

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