Skip to main content

Delete List File

Deletes files, images, cover images, or avatar image associated with a specific list

DELETE/v1/user/list/{id}/files

Properties

NameTypeRequiredDescription
idnumberID of the list

Example

/v1/user/list/123/files

CURL Example

curl -X DELETE "https://api-integrations.snackprompt.com/v1/user/list/{id}/files" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"avatar":true,"cover_images":[123]}'
warning

This action is irreversible.

info

This route will return a 200 status code if the list is successfully deleted.