Removes a saved vehicle from a vehicle group of the application's organization. The vehicle itself is not deleted.
Input. groupId is the 24-character id of a vehicle group from List vehicle groups; vehicleId is the numeric id of a saved vehicle from List vehicles.
Response. 204 No Content with an empty body.
Notes. The call is idempotent: removing a vehicle that is not in the group changes nothing and also answers 204. An unsaved vehicle answers 400. A 404 means the group or the vehicle does not exist or is not visible to the access token, never that the vehicle was or was not a member.
Side effects. The updated group is sent to the Cores that use it, so alerts that use the group stop matching the vehicle. Undo with Add a vehicle to a vehicle group.
Request examples
DELETE /v3/vehicle-api/groups/6512bd43d9caa6e02c990b0a/vehicles/1093527491036451
Required scope: write:vehicles
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204The vehicle is not in the group, whether it was removed now or was not a member.
400groupId is not a 24-character id, vehicleId is not a positive integer, or the vehicle is not saved.
404Vehicle or vehicle group not found in this organization.
409The removal would leave the group empty while an alert uses it. Change the alert first.
429Too many requests. Try again later.
500Internal server error.
