Skip to main content
PATCH
/
fleet
/
settings
/
compliance
Update compliance settings
curl --request PATCH \
  --url https://api.samsara.com/fleet/settings/compliance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "allowUnregulatedVehiclesEnabled": false,
  "canadaHosEnabled": true,
  "carrierName": "ABC Trucking",
  "dotNumber": 12345678,
  "driverAutoDutyEnabled": false,
  "editCertifiedLogsEnabled": true,
  "forceManualLocationForDutyStatusChangesEnabled": false,
  "forceReviewUnassignedHosEnabled": true,
  "mainOfficeFormattedAddress": "123 Main Street",
  "persistentDutyStatusEnabled": false
}
'
{
  "data": {
    "allowUnregulatedVehiclesEnabled": false,
    "canadaHosEnabled": false,
    "carrierName": "ABC Trucking",
    "dotNumber": 12345678,
    "driverAutoDutyEnabled": true,
    "editCertifiedLogsEnabled": true,
    "forceManualLocationForDutyStatusChangesEnabled": true,
    "forceReviewUnassignedHosEnabled": true,
    "mainOfficeFormattedAddress": "123 Main Street",
    "persistentDutyStatusEnabled": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json

Information set here will be displayed in roadside inspections and in the transferred US DOT datafile. Can be set or updated through the Samsara Settings page or the API at any time. To override these fields for specific drivers, please visit Driver Settings

allowUnregulatedVehiclesEnabled
boolean

[deprecated] Allow Unregulated Vehicles. This setting is deprecated as all organizations can now mark vehicles as unregulated.

Example:

false

canadaHosEnabled
boolean

Enable Canada HOS

Example:

true

carrierName
string

Carrier Name / Principal Place of Business Name

Example:

"ABC Trucking"

dotNumber
integer<int64>

Carrier US DOT Number

Example:

12345678

driverAutoDutyEnabled
boolean

Enable Driver Auto-Duty

Example:

false

editCertifiedLogsEnabled
boolean

Drivers Can Edit Certified Log

Example:

true

forceManualLocationForDutyStatusChangesEnabled
boolean

Force Manual Location For Duty Status Changes

Example:

false

forceReviewUnassignedHosEnabled
boolean

Force Review of Unassigned HOS

Example:

true

mainOfficeFormattedAddress
string

Main Office Address / Principal Place of Businesss Address

Example:

"123 Main Street"

persistentDutyStatusEnabled
boolean

Persistent Duty Status

Example:

false

Response

OK response.

data
object
required

Information set here will be displayed in roadside inspections and in the transferred US DOT datafile.