Skip to main content
DELETE
Delete a destination

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.

id
string
required

Destination id.

Response

Deleted. A destination with no delivery history is removed outright. One with history cannot be (deliveries.destination_id is a NOT NULL foreign key), so it is severed instead - project_id NULL, enabled 0 - which takes it out of every project list, count and fan-out for good while each past delivery still records where it went.

ok
boolean
required