در حال بارگذاری…
Delete one of your wake-up records.
| Permission | Description |
|---|---|
tracker_wakeups.delete | Delete wake-up records |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
tracker-wakeup-id | int | Yes | ID of the wake-up record | 34 |
DELETE /api/v1/tracker/wakeups/34
Despite the 204, this endpoint does return a JSON body — a localized confirmation message.
HTTP defines 204 as bodyless, so some clients and proxies discard it; treat the body as informational,
not something to depend on.
{
"message": "Wake-up record deleted successfully."
}
Localized from messages.tracker.wakeups.deleted_successfully (fa: “ثبت بیداری با موفقیت حذف شد.”).
| Status | Description | Reference |
|---|---|---|
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |
| 404 | Not found | Not-found error |