Skip to navigation

Update for cargo by driver

Updates the sharing settings for a cargo by driver tracking dataset. Making it public issues a public link token; making it private revokes it. | auth: api_key | authz_personas=[coordinator_org_operators, executor_org_operators, driver_for_executor] | (CargoByDriverSharingSettingsUpdateReq) -> (CargoByDriverSharingSettings1)

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
cargo_idstringRequired
publicbooleanRequired
task_group_idstringRequired

Response

Successful Response
_idstring
cargo_idstring
schema_versioninteger
task_group_idstring
last_changed_by_org_idstring or nullOptional
last_changed_by_user_idstring or nullOptional
last_changed_timestampstring or nullOptionalformat: "date-time"
publicbooleanOptionalDefaults to false

Errors

422
Unprocessable Entity Error