delete_env: Delete Environment Variable

Description Usage Arguments Details Value See Also Examples

View source: R/endpoints.R

Description

Delete a Circle CI environment variable for a specific project.

Usage

1
delete_env(project, user, var, ...)

Arguments

project

A character string specifying the project name, or an object of class “circle_project”. If the latter, there is no need to specify user.

user

A character string specifying the user name. This is not required if project is of class “circle_project”.

var

A character string specifying the name of an environment variable

...

Additional arguments passed to an HTTP request function, such as GET, via circleHTTP.

Details

Delete a Circle CI environment variable for a specific project.

Value

A logical.

See Also

add_env

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# add environment variables
add_env(list_projects()[[1]], var = list(A = "123", B = "abc"))

# remove environment variables, one at a time
delete_env(list_projects()[[1]], var = "A")
delete_env(list_projects()[[1]], var = "B")

## End(Not run)

cloudyr/circleci documentation built on May 13, 2019, 8:20 p.m.