Vehicles
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
Request
- Base URLhttps://partner-api.monta.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.