For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete Vehicle

This endpoint allows you to delete a vehicle.

DeleteVehicle(data, callback)

POST https://imperialcad.app/api/1.1/wf/deletevehicle


Request Body

Name
Type
Description

users_discordID

string

Discord ID of user

vin

string

VIN (Vehicle Identification Number)


exports["ImperialCAD"]:DeleteCharacter({
    users_discordID = "123456789012345678",
    vin = "1HGCM82633A004352"
  }, function(success, res)
    if success then print("Vehicle deleted.") else print("Failed to delete vehicle:", res) end
end)
{
  "status": "SUCCESS",
  "message": "Vehicle and relevant data was marked to be deleted"
}

Last updated