DisenrollPhone

Overview

The DisenrollPhone endpoint is used to remove a phone key.

For more information on BLE commands, see BLE API.

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": "DisenrollPhone",
  "variables": {
    "attrs": {
      "enrollmentId": <phone-id-to-disenroll>
    }
  },
  "query": "mutation DisenrollPhone($attrs: DisenrollPhoneAttributes!) { disenrollPhone(attrs: $attrs) { __typename success } }"
}

Example Response

{
  "data": {
    "disenrollPhone": {
      "__typename": "DisenrollPhoneResponse",
      "success": true
    }
  }
}