# Delete a sales order line **DELETE /salesorders/{id}/lines/{lineId}** Delete a specific line from a sales order identified by its unique sales order ID and line ID. ## Servers - https://rest.api.24sevenoffice.com/v1: https://rest.api.24sevenoffice.com/v1 () ## Authentication methods - Tfso ## Parameters ### Headers - **Authorization** (string) Authorization header ### Path parameters - **id** (integer(int32)) The unique identifier for the sales order, to which all the sales order lines pertain. - **lineId** (integer(int32)) The unique identifier of the sales order line. ## Responses ### 204 OK #### Headers - **Access-Control-Allow-Origin** (string) - **Access-Control-Allow-Credentials** (string) - **X-Trace-Id** (string) ### 404 Sales order or sales order line not found #### Headers - **Access-Control-Allow-Origin** (string) - **Access-Control-Allow-Credentials** (string) - **X-Trace-Id** (string) ### 409 Conflict - The sales order line cannot be deleted, likely because it has already been invoiced or is in a status that does not allow deletion. #### Headers - **Access-Control-Allow-Origin** (string) - **Access-Control-Allow-Credentials** (string) - **X-Trace-Id** (string) [Powered by Bump.sh](https://bump.sh)