Skip to main content
DELETE
/
sources
/
{source_id}
Delete a source
curl --request DELETE \
  --url https://api.deck.co/v2/sources/{source_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "deleted": true,
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Secret key (sk_live_...)

Path Parameters

source_id
string
required

Unique identifier for the source (prefixed with src_).

Response

OK

Confirmation object returned after a successful deletion.

id
string
required

ID of the deleted source.

object
string
required

Always source.

deleted
boolean
required

Always true for successful deletions.

request_id
string
required

Unique identifier for the API request. Include this when contacting support.