Allmine API
File Upload

Delete profile photo variants

**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Delete profile photo variants. Deletes or cancels file profile photo through DELETE /api/v1/file/profile-photo.

DELETE
/api/v1/file/profile-photo

Production uyarisi: Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin.

Delete profile photo variants. Deletes or cancels file profile photo through DELETE /api/v1/file/profile-photo.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/v1/file/profile-photo" \  -H "Content-Type: application/json" \  -d '{    "variants": {      "28": "https://cdn.example.com/profiles/uuid/28.webp",      "56": "https://cdn.example.com/profiles/uuid/56.webp",      "112": "https://cdn.example.com/profiles/uuid/112.webp"    }  }'
{
  "isSuccess": true,
  "statusCode": 200,
  "data": {
    "message": "Success"
  },
  "errors": [],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 400,
  "data": null,
  "errors": [
    "Validation failed"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 404,
  "data": null,
  "errors": [
    "Resource not found"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 409,
  "data": null,
  "errors": [
    "Resource already exists or cannot be changed in its current state"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}