DELETE
/
sources
/
{source_id}
curl --request DELETE \
  --url https://api.totoy.ai/v1/sources/{source_id} \
  --header 'Authorization: Bearer <token>'
{
  "source_id": "src_oXiYDg8QOc9JsOk86idRXiywD",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

source_id
string
required

Unique identifier for a Source that was uploaded to Totoy.

Maximum length: 29

Response

200
application/json
OK
source_id
string
required

Unique identifier for the Source that was deleted.

Maximum length: 29
deleted
boolean
required

Indicates whether the Source was successfully deleted.