Skip to content

Project.trash

Move project to trash (soft delete). Cascades to datasets.

Server: POST /api/projects/{id}/trash (not DELETE — base DELETE is a hard delete with S3 cleanup, a different operation).

Signature

trash() -> None

HTTP parameters

Name In Type Required Default
project_id path string yes -

Return shape

HTTP 200 — OK

Permission

Required permission: project:delete

HTTP

POST /api/projects/{id}/trash (trashProject)

Usage

project.trash()