Audio

Delete Audio

Forget a clip so it can no longer be used as a video input.

Removes the clip from your library and from the provenance registry. Videos already made with it are unaffected.

DELETE/v1/audio/{id}Try it
Delete Audio
cURL
curl --request DELETE \
  --url https://api.spicyapi.com/v1/audio/au_3c9f1e7a2b4d6f80a1c2 \
  --header 'Authorization: Bearer $SPICYAPI_KEY'
200
JSON
{ "id": "au_3c9f1e7a2b4d6f80a1c2", "object": "audio", "deleted": true }

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your SpicyAPI key (sk-spicy-…). Create one in the dashboard under API Keys.

Response

200 · application/json

Successful Response

idstringrequired

The deleted clip id.

objectstringrequired

Always audio.

deletedbooleanrequired

Always true. An unknown id returns 404.

Was this page helpful?