---
title: "Update compliance settings"
method: PATCH
path: "/fleet/settings/compliance"
tags: ["Settings"]
---

# Update compliance settings

`PATCH /fleet/settings/compliance`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/fleet/settings/compliance`
- Auth: HTTP bearer

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.

## Request body

- SettingsPatchComplianceSettingsRequestBody: 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.
  - `canadaHosEnabled` boolean: Enable Canada HOS
  - `carrierName` string: Carrier Name / Principal Place of Business Name
  - `dotNumber` integer: Carrier US DOT Number
  - `driverAutoDutyEnabled` boolean: Enable Driver Auto-Duty
  - `editCertifiedLogsEnabled` boolean: Drivers Can Edit Certified Log
  - `forceManualLocationForDutyStatusChangesEnabled` boolean: Force Manual Location For Duty Status Changes
  - `forceReviewUnassignedHosEnabled` boolean: Force Review of Unassigned HOS
  - `mainOfficeFormattedAddress` string: Main Office Address / Principal Place of Businesss Address
  - `persistentDutyStatusEnabled` boolean: Persistent Duty Status

## Response `200`

OK response.

- SettingsPatchComplianceSettingsResponseBody
  - `data` SettingsComplianceResponseObjectResponseBody, required: Information set here will be displayed in roadside inspections and in the transferred US DOT datafile.
    - `allowUnregulatedVehiclesEnabled` boolean: [deprecated] Allow Unregulated Vehicles. This setting is deprecated as all organizations can now mark vehicles as unregulated.
    - `canadaHosEnabled` boolean: Enable Canada HOS
    - `carrierName` string: Carrier name of the organization
    - `dotNumber` integer: DOT Number
    - `driverAutoDutyEnabled` boolean: Enable Driver Auto-Duty
    - `editCertifiedLogsEnabled` boolean: Drivers Can Edit Certified Log
    - `forceManualLocationForDutyStatusChangesEnabled` boolean: Force Manual Location For Duty Status Changes
    - `forceReviewUnassignedHosEnabled` boolean: Force Review of Unassigned HOS
    - `mainOfficeFormattedAddress` string: Office Address
    - `persistentDutyStatusEnabled` boolean: Persistent Duty Status

## Other responses

- `401`: Unauthorized response.
- `404`: Not Found response.
- `405`: Method Not Allowed response.
- `413`: Content Too Large response.
- `429`: Too Many Requests response.
- `500`: Internal Server Error response.
- `501`: Not Implemented response.
- `502`: Bad Gateway response.
- `503`: Service Unavailable response.
- `504`: Gateway Timeout response.
- `default`: Bad Request response.

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
