Skip to main content
PATCH
Update vehicle

Authorizations

Authorization
string
header
required

JWT access token from /auth/verify-otp

Path Parameters

id
string<uuid>
required

Body

application/json
type
enum<string>
Available options:
two_wheeler,
four_wheeler,
commercial
make
string
model
string
year
integer
registration
string
is_default
boolean

Response

Updated vehicle

id
string<uuid>
user_id
string<uuid>
type
enum<string>
Available options:
two_wheeler,
three_wheeler,
four_wheeler,
commercial
make
string
model
string
year
integer
created_at
string<date-time>
registration
string
is_default
boolean | null