Skip to main content
DELETE
Delete a project

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

pid
string
required

Project id (UUID) belonging to the caller workspace.

Response

Deleted. Config rows (webhooks, rules, ingest keys, sources, triggers, workflows, portals, AI agents) are removed; records, submissions, deliveries, agent runs and destinations are kept with project_id set to NULL so history and foreign keys stay intact. Returns ok:true even when no project matched - the handler does not check the affected row count, so a missing id is not a 404.

ok
boolean
required