Skip to content

Удалить услугу из сравнения

Request

Удаляет услугу только из списка текущего пользователя. Тело запроса не требуется.

Security
bearerAuth or jwtCookie
Path
service_idinteger, (int64), >= 1required

ID услуги.

curl -i -X DELETE \
  'https://felmee.com/api/comparison/{service_id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Услуга удалена из сравнения.

Bodyapplication/json
codeErrorstring or nullrequired

Устаревший camelCase-alias поля error_code; при ошибке оба поля содержат одинаковое значение.

Example:null
successbooleanrequired

Флаг успешного выполнения запроса

Example:true
messagestringrequired

Человекочитаемое описание результата

Example:"OK"
error_codestring or null(ERROR_CODE)required

Код ошибки. Для успешных ответов всегда null.

Enum:"INVALID_BODY""INVALID_DATE""invalid_body""unauthorized""not_found""slot_unavailable""conflict""BUSINESS_INACTIVE""INSUFFICIENT_FUNDS""REQUISITES_REQUIRED"
Example:null
dataany or nullrequired

Полезная нагрузка. Может быть объектом, массивом или null.

Example:null
Response
{ "success": true, "message": "Service deleted from comparison successfully", "codeError": null, "error_code": null, "data": null }