Delete Images

Deleting images in Pixfly is straightforward. You can manage image deletions directly from the dashboard or programmatically via the API for more dynamic workflows.

Delete Images from the Dashboard

To delete an image through the Pixfly dashboard:

  1. Log in to your Pixfly Dashboard.
  2. Navigate to the Images section under your project.
  3. Locate the image you wish to delete and click the Delete button.

Delete Images via API

Use the API for automated deletion of images. This is especially useful for managing large numbers of images or integrating deletion into your application workflows.

API Endpoint

$ https://thepixfly.com/api/delete-bucket-img
ParameterDescriptionRequired
signYour unique API key obtained from the Pixfly dashboard.Yes
emailThe email address associated with your Pixfly account.Yes
projThe project name associated with the image you want to delete.Yes
fileThe file name, including the bucket path, of the image to be deleted.Yes

Example POST Request

PixflyUploader.jsx
1 2POST https://thepixfly.com/api/delete-bucket-img 3Content-Type: application/json 4 5{ 6 "sign": "your-api-key", 7 "email": "user@example.com", 8 "proj": "bucket-name", 9 "file": "bucket-name/image.jpg" 10}