Skip to main content
PATCH
/
api
/
cars
Update cars features
curl --request PATCH \
  --url https://fleet.staging.ezprk.dev/api/cars \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "licenseNumber": "<string>",
    "features": []
  }
]
'
{
  "failures": [
    {
      "licenseNumber": "<string>",
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

You can get the JWT from the Login endpoint

Body

application/json
licenseNumber
string
features
enum<string>[]
Available options:
LEASING,
CPF

Response

All items processed successfully