delete_analysis: Delete an analysis by API ID.
Description
This permanently removes the analysis and its associated figures and
revisions from the workspace.
Usage
delete_analysis(gf, api_id)
Value
Invisibly returns `NULL`. An error is thrown if the deletion fails.
Arguments
- gf
GoFigr client.
- api_id
Character string with the API ID of the analysis to delete.