---
title: "Remove Machine from Route"
method: DELETE
path: "/v1/Scheduling/route-machines"
tags: ["Scheduling"]
---

# Remove Machine from Route

`DELETE /v1/Scheduling/route-machines`

Removes a machine from a specific route, identified by RouteId and MachineId.

## Query parameters

- `MachineId` integer
- `RouteId` integer

## Response `200`

The details of the machine removed from the route.

- RouteMachineResponseDto
  - `MachineTypeLutId` integer, nullable — The identifier for the machine type from the lookup table.
  - `MachineId` integer — The unique identifier of the machine.
  - `MachineName` string, nullable — The name of the machine.
  - `MachineNumber` string, nullable — The unique number assigned to the machine.
  - `CountryId` integer, nullable — The identifier for the country where the machine is located.
  - `City` string, nullable — The city where the machine is located.
  - `Address` string, nullable — The address where the machine is located.
  - `StreetNumber` string, nullable — The street number where the machine is located.
  - `Longitude` string, nullable — The longitude coordinate of the machine's location.
  - `Latitude` string, nullable — The latitude coordinate of the machine's location.
  - `InstituteId` integer, nullable — The unique identifier of the institute associated with the machine.
  - `InstituteName` string, nullable — The name of the institute associated with the machine.
  - `LocationId` integer, nullable — The unique identifier of the location where the machine is installed.
  - `LocationName` string, nullable — The name of the location where the machine is installed.
  - `CustomerId` integer, nullable — The unique identifier of the customer associated with the machine.
  - `CustomerName` string, nullable — The name of the customer associated with the machine.
  - `CustomerLocationId` integer, nullable — The unique identifier of the customer's location associated with the machine.
  - `CustomerLocationName` string, nullable — The name of the customer's location associated with the machine.
  - `StatusId` integer, nullable — The status identifier of the machine, indicating its current status.
  - `DriverId` string, uuid, nullable — The unique identifier of the driver assigned to the machine.
  - `RouteId` integer — The unique identifier of the route to which the machine is assigned.
  - `UserId` integer, nullable — The unique identifier of the user who last interacted with the machine.
  - `CreatedBy` integer — The unique identifier of the user who created the route-machine association.
  - `CreatedDt` string, date-time — The date and time when the route-machine association was created.

---

[API](https://skmtc.net/nayax/apis/nayax-cortina-api.md) · [All operations](https://skmtc.net/nayax/apis/nayax-cortina-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nayax/nayax-cortina-api/revisions/421f6f83c257/schema)
