Update a new connected vehicle

A connected vehicle can be removed by using the removeConnectedVehicle mutation. This operation will first revoke access to the vehicle and then completely remove it. If there is an open subscription an exception will occur.


To remove a connected vehicle provide the id of the vehicle. The mutation will return null or a CONNECTED_VEHICLE_NOT_FOUND exception if the vehicle no longer exists.


input non_null RemoveConnectedVehicleInput



A response can either contain a data or an errors object. The response header will always return 200 as a status code.

Data object

When successful, a data object will be returned with the requested fields. If there are no fields present the data object will return the operation name with the appropriate return type. If the operation was a query, this output will be an object of the schema’s query root type; if the operation was a mutation, this output will be an object of the schema’s mutation root type.

Error object

If unsuccessful, an errors object will be returned with more details in the extensions object. The error object can contain any of the following objects.



The connected vehicle was not found