Portabase Logo
Portabase DashboardAPIProjects

Archive (soft-delete) a project

DELETE
/projects/{id}

Authorization

apiKeyAuth
headerx-api-key<token>

API key generated from the Portabase dashboard. Pass as the x-api-key header.

Path Parameters

id*string
Formatuuid

Response Body

Archived project

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://portabase.example.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "slug": "string",    "name": "string",    "isArchived": true,    "backupPolicy": "string",    "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",    "updatedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "deletedAt": "2019-08-24T14:15:22Z"  }}