در حال بارگذاری…
Delete a training service from a user.
| Permission | Description |
|---|---|
training_services.delete | Delete your own training services |
training_services.delete_any | Delete training services from any user |
None.
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": "Training service deleted successfully."
}
Localized from messages.training.services.deleted_successfully (fa: “سرویس تمرینی با موفقیت حذف شد.”).
| Status | Error Type | Reference |
|---|---|---|
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden | Permission error |
| 404 | Not Found | Not-found error |