---
title: "Set Roles"
method: POST
path: "/{vin}/roles"
tags: ["Driver Management"]
---

# Set Roles

`POST /{vin}/roles`

Sets the subscription or charging payer role for a vehicle. Requires a Tesla Business account.

## Request body

- object
  - `role` 'SUBSCRIPTION' | 'CHARGING', required — The payer role to assign.
  - `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`

OK

- object
  - `result` boolean

---

[API](https://skmtc.net/tessie/apis/tessie-api.md) · [All operations](https://skmtc.net/tessie/apis/tessie-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tessie/tessie-api/revisions/a9157f7a53a2/schema)
