Gemstones

Delete Gemstone

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

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

Path parameters

gem_idstring required

Response

Successful Response

successboolean required
messagestring required
deleted_idinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.