Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1 KB

device.md

File metadata and controls

40 lines (30 loc) · 1 KB

Device

{% api-method method="post" host="https://owner-api.teslamotors.com" path="/api/1/device/:device_token/deactivate" %} {% api-method-summary %} Deactivate {% endapi-method-summary %}

{% api-method-description %}

{% endapi-method-description %}

{% api-method-spec %} {% api-method-request %} {% api-method-path-parameters %} {% api-method-parameter name="device_token" type="string" required=true %} Token for registered device {% endapi-method-parameter %} {% endapi-method-path-parameters %}

{% api-method-headers %} {% api-method-parameter name="Authorization" type="string" required=true %} Bearer {access_token} from authorization {% endapi-method-parameter %} {% endapi-method-headers %} {% endapi-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}


{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}