Skip to main content
POST

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