OAuth
OAuth grant types supported
refresh_token
password
Get Access Token
POST
https://owner-api.teslamotors.com/oauth/token
Performs the login and returns the access token for all subsequent actions
Headers
Name | Type | Description |
---|---|---|
Content-Type | string |
|
Request Body
Name | Type | Description |
---|---|---|
password | string | tesla.com user password |
string | tesla.com user email address | |
client_secret | string |
|
client_id | string |
|
grant_type | string |
|
Revoke Access Token
POST
https://owner-api.teslamotors.com/oauth/revoke
Revokes the {access_token}
issued by the token command
Path Parameters
Name | Type | Description |
---|---|---|
Content-Type | string |
|
Request Body
Name | Type | Description |
---|---|---|
token | string |
|
Last updated