Skip to main content
POST
/
{vin}
/
roles
curl --request POST \
  --url https://api.tessie.com/{vin}/roles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "SUBSCRIPTION",
  "account_id": "555555555"
}
'
{
  "result": true
}

Documentation Index

Fetch the complete documentation index at: https://developer.tessie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vin
string
required

The associated VIN.

Body

application/json
role
enum<string>
required

The payer role to assign.

Available options:
SUBSCRIPTION,
CHARGING
account_id
string

The Tesla account ID to assign the payer role to.

federation_id
string

The Tesla federation ID to assign the payer role to.

Response

200 - application/json

OK

result
boolean