Delete

[POST] .../v1/project/delete

Soft-deletes a project. Soft-delete a project so it no longer appears in the active project list. Requires a valid project id, project delete permission and access to the project; the built-in common project cannot be deleted. Returns UpdateResult with the affected row count and sends the ProjectDeleted webhook and notifications. Missing body, invalid id, denied access, protected project, missing project and storage failures return HTTP 200 ErrorResult.

Request Parameters

Name Type Required Description
id Int64 Required Project ID.

Request Example

{
  "id": 10
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Update Update operation result.

Response Example

{
  "ok": true,
  "result": {
    "row_affected": 1
  }
}