Delete Image

Delete Image

Delete Image

Delete Image

Information

Delete an image from the server.

Usage

Basic API information


Method: DELETE

API Base URL: https://cortadoai.fun/v1/api/delete

Parameters: 
- imageUrl: URL of the image to be deleted

Example

Each code snippet provides a clear and concise illustration of making API requests, with comments explaining the purpose of each request and any required parameters. By following these examples, you can seamlessly integrate Cortado.ai into your web applications and leverage its powerful features to enhance image optimization, PDF processing, and more.


import axios from 'axios';

const deleteImage = async (imageUrl) => {
  try {
    const response = await axios.delete(`/api/delete?url=${imageUrl}`);
    console.log('Image deleted:', imageUrl);
  } catch (error) {
    console.error('Error deleting image:', error);
  }
};

deleteImage('URL_OF_YOUR_IMAGE');

11+ Stars

8 Forks

Contributors

Kent Mewhort

Richard Joubert

11+ Stars

8 Forks

Contributors

Kent Mewhort

Richard Joubert

11+ Stars

8 Forks

Contributors

Kent Mewhort

Richard Joubert

11+ Stars

8 Forks

Contributors

Kent Mewhort

Richard Joubert

© 2025 Cortado. All rights reserved.

Developed by Kmewhort. Powered by ESRGAN.

© 2025 Cortado. All rights reserved.

Developed by Kmewhort. Powered by ESRGAN.