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
}Driver Management
Set Roles
Sets the subscription or charging payer role for a vehicle. Requires a Tesla Business account.
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
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The associated VIN.
Body
application/json
Response
200 - application/json
OK

