api_project_update: Update information for a project

View source: R/api_projects.R

api_project_updateR Documentation

Update information for a project

Description

Update information for a project

Usage

api_project_update(project_id, info)

Arguments

project_id

internal, numeric id of the project.

info

a list describing the properties of the project, formatted exactly as the output of api_project().

Value

NULL upon success.

See Also

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

Examples

i <- api_project(185)
i$comments
# change comment and update
i$comments <- "This is a test comment"
api_project_update(185, i)
# check that the comment is changed
api_project(185)$comments
# change it back to something else
i$comments <- "No comment"
api_project_update(185, i)

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