Skip to main content

Delete Elemental File

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

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

Properties

NameTypeRequiredDescription
idstringID of the elemental

Example

/v1/user/elemental/your-elemental-id/files

CURL Example

curl -X DELETE "https://api-integrations.snackprompt.com/v1/user/elemental/{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 elemental is successfully deleted.