curl --request PATCH \
--url https://api.example.com/v2/fleets/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"is_active": true,
"regions": "<string>",
"onboarding_stage": "INITIAL",
"client": "<string>"
}
'{
"id": 123,
"region_details": [
{
"id": 123,
"title": "<string>"
}
],
"title": "<string>",
"is_active": true,
"billing_type": "PREPAID",
"onboarding_stage": "INITIAL",
"warning_threshold_per_vehicle": "<string>",
"deactivation_threshold_per_vehicle": "<string>",
"client": "<string>",
"onboarding_vehicle_order": 123
}Partially update a fleet by ID.
curl --request PATCH \
--url https://api.example.com/v2/fleets/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"is_active": true,
"regions": "<string>",
"onboarding_stage": "INITIAL",
"client": "<string>"
}
'{
"id": 123,
"region_details": [
{
"id": 123,
"title": "<string>"
}
],
"title": "<string>",
"is_active": true,
"billing_type": "PREPAID",
"onboarding_stage": "INITIAL",
"warning_threshold_per_vehicle": "<string>",
"deactivation_threshold_per_vehicle": "<string>",
"client": "<string>",
"onboarding_vehicle_order": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A unique integer value identifying this Fleet.
255Show child attributes
INITIAL - InitialFLEET_NAMED - Fleet NamedVEHICLES_ADDED - Vehicles AddedCOMPLETED - CompletedINITIAL, FLEET_NAMED, VEHICLES_ADDED, COMPLETED 100Show child attributes
255PREPAID - prepaidPOSTPAID - postpaidPREPAID, POSTPAID INITIAL - InitialFLEET_NAMED - Fleet NamedVEHICLES_ADDED - Vehicles AddedCOMPLETED - CompletedINITIAL, FLEET_NAMED, VEHICLES_ADDED, COMPLETED ^-?\d{0,5}(?:\.\d{0,2})?$^-?\d{0,5}(?:\.\d{0,2})?$100Was this page helpful?