Supercheck LogoSupercheck
Organizations API

Delete a project

DELETE
/api/projects/{id}

Organization owners and admins. Hides the project at once; restoreProject brings it back within 7 days, after which it is purged. The default project cannot be deleted (400). Returns 403 with code ORG_PENDING_DELETION while the organization is pending deletion. Requires an interactive browser session; project-scoped CLI tokens receive 403.

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

Interactive Better Auth browser session. Secure deployments may use the __Secure- cookie prefix.

Path Parameters

id*string
Formatuuid

Response Body

Project deleted

application/json
  1. response
success?boolean
message?string
purgeAfter?string

When the project is purged unless restored.

Formatdate-time
Example Request
curl -X DELETE 'https://app.supercheck.io/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "success": true,  "message": "string",  "purgeAfter": "2019-08-24T14:15:22Z"}