Change the desired consent-based service status for vehicles
POST {{baseUrl}}/v1/accounts/vehicles/:vin/services/vehicle-owner-consent
This endpoint activates or deactivates consent-based services for a vehicle. A consent must always be given by the vehicle owner. A single consent must have been provided for all services in a given request to this endpoint. Consequently, the provided token must be valid for all the provided service IDs.
Request Body
{"consentToken"=>"<string>", "services"=>[{"desiredStatus"=>"INACTIVE", "serviceId"=>"<string>"}, {"desiredStatus"=>"INACTIVE", "serviceId"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |