Delete Marker
Delete a marker and its associated image.
DELETE /api/v1/markers/{id}
Parameters
| Parameter | Type | Location | Description |
|---|---|---|---|
id | uuid | path | Marker ID |
Headers
Authorization: Bearer {access_token}
Response
- 200: OK
- 400: Bad Request
- 401: Unauthorized
- 404: Not Found
{
"meta": {
"success": true,
"message": "Marker deleted successfully"
},
"data": null
}
note
Associated image in Google Drive is also deleted. Deletion continues even if image deletion fails.
{
"meta": {
"success": false,
"message": "Invalid marker ID format"
},
"data": null
}
{
"meta": {
"success": false,
"message": "Missing or invalid token"
},
"data": null
}
{
"meta": {
"success": false,
"message": "Marker not found"
},
"data": null
}