Settings

Update compliance settings

Update organization's compliance settings, including carrier name, office address, and DOT number

<b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).

To use this endpoint, select Write ELD Compliance Settings (US) under the Compliance category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

patch/fleet/settings/compliance

Request

  • Base URL
    https://api.samsara.com
  • Auth
    HTTP bearer

Request body

allowUnregulatedVehiclesEnabledboolean

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

canadaHosEnabledboolean

Enable Canada HOS

carrierNamestring

Carrier Name / Principal Place of Business Name

dotNumberinteger

Carrier US DOT Number

driverAutoDutyEnabledboolean

Enable Driver Auto-Duty

editCertifiedLogsEnabledboolean

Drivers Can Edit Certified Log

forceManualLocationForDutyStatusChangesEnabledboolean

Force Manual Location For Duty Status Changes

forceReviewUnassignedHosEnabledboolean

Force Review of Unassigned HOS

mainOfficeFormattedAddressstring

Main Office Address / Principal Place of Businesss Address

persistentDutyStatusEnabledboolean

Persistent Duty Status

Example request

{
  "carrierName": "ABC Trucking",
  "dotNumber": 12345678,
  "editCertifiedLogsEnabled": true,
  "forceReviewUnassignedHosEnabled": true,
  "mainOfficeFormattedAddress": "123 Main Street"
}

Response

OK response.

Example response

{
  "data": {
    "canadaHosEnabled": true,
    "carrierName": "ABC Trucking",
    "dotNumber": 12345678,
    "editCertifiedLogsEnabled": true,
    "forceManualLocationForDutyStatusChangesEnabled": true,
    "mainOfficeFormattedAddress": "123 Main Street"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.