Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

A unique integer value identifying this Fleet.

Body

regions
integer[]
required
write-only
title
string
Maximum string length: 255
is_active
boolean
billing_type
enum<string>
  • PREPAID - prepaid
  • POSTPAID - postpaid
Available options:
PREPAID,
POSTPAID
onboarding_stage
enum<string>
  • INITIAL - Initial
  • FLEET_NAMED - Fleet Named
  • VEHICLES_ADDED - Vehicles Added
  • COMPLETED - Completed
Available options:
INITIAL,
FLEET_NAMED,
VEHICLES_ADDED,
COMPLETED
warning_threshold_per_vehicle
string<decimal> | null
Pattern: ^-?\d{0,5}(?:\.\d{0,2})?$
deactivation_threshold_per_vehicle
string<decimal> | null
Pattern: ^-?\d{0,5}(?:\.\d{0,2})?$
client
string | null
Maximum string length: 100
onboarding_vehicle_order
integer | null

Response

200 - application/json
id
integer
required
read-only
region_details
object[]
required
read-only
title
string
Maximum string length: 255
is_active
boolean
billing_type
enum<string>
  • PREPAID - prepaid
  • POSTPAID - postpaid
Available options:
PREPAID,
POSTPAID
onboarding_stage
enum<string>
  • INITIAL - Initial
  • FLEET_NAMED - Fleet Named
  • VEHICLES_ADDED - Vehicles Added
  • COMPLETED - Completed
Available options:
INITIAL,
FLEET_NAMED,
VEHICLES_ADDED,
COMPLETED
warning_threshold_per_vehicle
string<decimal> | null
Pattern: ^-?\d{0,5}(?:\.\d{0,2})?$
deactivation_threshold_per_vehicle
string<decimal> | null
Pattern: ^-?\d{0,5}(?:\.\d{0,2})?$
client
string | null
Maximum string length: 100
onboarding_vehicle_order
integer | null