v1
latestOpenAPI 3.0.12026-07-243686491.1 MBVehicles
Share a vehicle with a user
Required scope: vehicles:write. Shares the vehicle with the given user. The user must belong to the vehicle's team or already be a shared user. Idempotent.
post/api/v1/vehicles/{vehicleId}/users
Path parameters
vehicleIdinteger required
Query parameters
pageinteger
Page number to retrieve (starts with 0)
perPageinteger
Number of items per page (between 1 and 100, default 10)
Request body
Example request
{
"userId": 3
}Response
Updated list of users the vehicle is shared with
Example response
{
"data": [
{
"id": 3,
"owner": true,
"name": "Jane Doe",
"profileImageUrl": "https://example.com/avatar.png"
}
]
}