GET
/
vehicles
/
{id}
/
permissions
curl https://api.smartcar.com/v2.0/vehicles/{id}/permissions \
-H "Authorization: Bearer {token}" \
-X "GET"
{
    "paging": {
        "count": 25,
        "offset": 10
    },
    "permissions": [
        "read_vehicle_info"
    ]
} 

Request

id
string
required

The vehicle id.

limit
integer
default: "10"

The number of vehicles to return per page. Max: 50

offset
integer

The index to start vehicle list at.

curl https://api.smartcar.com/v2.0/vehicles/{id}/permissions \
-H "Authorization: Bearer {token}" \
-X "GET"

Response

permissions
[permissions]

An array of permissions.

paging
object

Metadata about the current list of elements.

{
    "paging": {
        "count": 25,
        "offset": 10
    },
    "permissions": [
        "read_vehicle_info"
    ]
}