getOTAUpdateDetails

Overview

The SetVehicleName endpoint renames your vehicle.

POST https://rivian.com/api/gql/gateway/graphql

Required Headers

a-sess: <your app session token>
u-sess: <your user session token>
csrf-token: <your CSRF token>

Request Body

{
  "operationName": "SetVehicleName",
  "variables": {
    "vehicleId": <your-vehicle-id>,
    "name": <new-name>
  },
  "query": "mutation SetVehicleName($vehicleId: String!, $name: String!) { setVehicleName(vehicleId: $vehicleId, name: $name) { value } }"
}

Example Response

{
  "data": {
    "setVehicleName": {
      "value": <new-name>
    }
  }
}