Delete Fleet (DELETE)
Removes a fleet from your account. All vehicles within this fleet will be disassociated from the removed fleet and remain active on the account as a result of this action.
http://api2.carmd.com/v2.0/fleet
Request Data
{
"fleetID": "54fd50633c108153ecafd561"
}
Field | Type | Notes |
fleetID | string | Required. ID of fleet to delete. |
Response
{
"message": {
"code": 0,
"message": "OK",
"credentials": "Valid",
"version": "v2.0.0",
"account": "Free",
"method": "Delete Fleet",
"action": "DELETE",
"counter": 206
},
"data": {
"fleetID": "54fd50633c108153ecafd561"
}
}
Field | Type | Notes |
message | Message | |
data | string | fleetID of the fleet removed. |
Message object
Field | Type | Notes |
code | string | Message code. |
message | string | Ok or Failed. |
credentials | string | Valid or Invalid. |
version | string | v2.0.0 |
account | string | Free or Premium |
method | string | Name of the API called |
action | string | returns a GET, POST, PUT, DELETE |
counter | integer | Counter for this request. Increments by one for every request made. This is only important for free users who have a limited number of API requests. |