api_project_delete: Delete a project

View source: R/api_projects.R

api_project_deleteR Documentation

Delete a project

Description

Delete a project (of which you are a manager).

Usage

api_project_delete(project_id, only_objects = FALSE)

Arguments

project_id

internal, numeric id of the project.

only_objects

when TRUE, delete only the objects and keep the project structure (permissions, free column names, etc.) intact.

Value

??

See Also

Other projects: api_project_create(), api_project_update(), api_projects_filter(), api_project()

Examples

## Not run: 
# log in as a user who is manager on the project to delete
api_login("your@email", "your_password")
# create a project and delete it
project_id <- api_project_create("Test project through the API", visible=FALSE)
api_projects_filter("through the API")
api_project_delete(project_id)
api_projects_filter("through the API")

## End(Not run)

jiho/ecotaxar documentation built on Jan. 16, 2024, 12:26 a.m.