Deleting images in Pixfly is straightforward. You can manage image deletions directly from the dashboard or programmatically via the API for more dynamic workflows.
To delete an image through the Pixfly dashboard:
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.
$ https://thepixfly.com/api/delete-bucket-img
Parameter | Description | Required |
---|---|---|
sign | Your unique API key obtained from the Pixfly dashboard. | Yes |
The email address associated with your Pixfly account. | Yes | |
proj | The project name associated with the image you want to delete. | Yes |
file | The file name, including the bucket path, of the image to be deleted. | Yes |
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}