API Docs
YMS API
Carrier/Level 1
POST Delete Carrier

POST Delete Carrier

Introduction

Deletes a carrier from the system. This operation should be used with caution as it permanently removes the carrier record. Typically used for removing duplicate entries or carriers that are no longer in service. The system may prevent deletion if the carrier is referenced in active appointments or historical records.

API Request

POST /carrier/{carrierId}/delete

Request Parameters

NameLocationTypeRequiredDescription
carrierIdpathstringYesnone
X-Tenant-IDheaderstringNonone
X-Yard-IDheaderstringNonone
Item-Time-ZoneheaderstringNonone
AuthorizationheaderstringNonone

Response Example

200 Response

{
  "code": 0,
  "msg": "",
  "success": false,
  "data": null
}

Response

Status CodeDefinitionDescriptionData Model
200OK (opens in a new tab)noneRVoid