Skip to main content
DELETE
/
v1
/
projects
/
{projectId}
/
images
Remove Image
curl --request DELETE \
  --url https://api.migma.ai/v1/projects/{projectId}/images \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "data": {
    "success": true
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.

Path Parameters

projectId
string
required

Project ID (MongoDB ObjectId)

Pattern: ^[0-9a-fA-F]{24}$

Query Parameters

imageUrl
string<uri>
required

URL of the image to remove (URL-encoded)

Response

Image removed

success
boolean
required
data
object
error
string | null