---
title: "Delete Gemstone"
method: DELETE
path: "/api/v1/gems/{gem_id}"
tags: ["Gemstones"]
---

# Delete Gemstone

`DELETE /api/v1/gems/{gem_id}`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/gems/{gem_id}`
- Auth: HTTP bearer

DELETE /api/v1/gems/{id} - Delete gemstone

Deletes a gemstone and all its associated images.
Only the owner of the gemstone can delete it.

Args:
    gem_id: ID of the gemstone to delete

Returns:
    GemstoneDeleteResponse: Success status and deletion details

Raises:
    HTTPException 400: Invalid gemstone ID format
    HTTPException 404: Gemstone not found or unauthorized
    HTTPException 500: Database error

## Path parameters

- `gem_id` string, required

## Response `200`

Successful Response

- GemstoneDeleteResponse: Response for gemstone deletion
  - `success` boolean, required
  - `message` string, required
  - `deleted_id` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api.md) · [All operations](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/revisions/fcb441f55161?raw)
