---
title: "deleteImage"
method: DELETE
path: "/api/user/file/kala/{kalaId}/{filePublicId}"
tags: ["file-user-resource"]
---

# deleteImage

`DELETE /api/user/file/kala/{kalaId}/{filePublicId}`

## Request

- Base URL: `https://api.neonclub.ir`
- URL: `https://api.neonclub.ir/api/user/file/kala/{kalaId}/{filePublicId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/neonclub/apis/ayria-api/docs/api/user/file/kala/:kalaId/:filePublicId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `filePublicId` string, required
- `kalaId` integer, required

## Response `200`

OK

- FilePublicDTO
  - `contentType` string
  - `path` string
  - `publicId` string
  - `type` 'PHOTO' | 'DOCUMENT' | 'AVATAR'

## Other responses

- `204`: No Content
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/neonclub/apis/ayria-api.md) - [All operations](https://skmtc.dev/neonclub/apis/ayria-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neonclub/apis/ayria-api/revisions/1f6b876e9f89?raw)
