Projects

Archive (soft-delete) a project

Archives and soft-deletes a project. Compatibility path accepts service_key or admin auth. Control-plane session / SIWX callers must satisfy the owner-only project.delete policy; browser sessions require passkey step-up, while SIWX wallet signatures are fresh per request.

delete/projects/v1/{project_id}

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/projects/v1/{project_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header SIGN-IN-WITH-X
    • HTTP bearer
    • API key in header x-admin-key

Path parameters

project_idstring required

Run402 project ID. Public IDs are not UUIDs.

Example:prj_1741340000_0042

Response

Project purged (terminal delete). When the project had a vault, the response additionally discloses that the vault SURVIVES the delete.

statusstring
project_idstring

Run402 project ID. Public IDs are not UUIDs.

Example response

{
  "status": "purged",
  "project_id": "prj_1741340000_0042",
  "vault": {
    "repo_id": "src_871e832894fa5eb7ce402fbe1c214397",
    "retained": true,
    "source_bytes": "1058300",
    "counts_against_org_storage": true
  },
  "warnings": [
    {
      "kind": "vault_retained"
    }
  ],
  "next_actions": [
    {
      "method": "POST",
      "path": "/tiers/v1/hobby",
      "auth": "x402"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.