Restrict a carrier on a specific lane
Mark this carrier as ineligible for the specified lane. Requires a human-readable reason; an audit-log row capturing the actor, reason, and timestamp is written in the same transaction. Idempotent: calling this endpoint when the preference is already restricted returns the current row unchanged and writes no audit entry. Admin-only — requires OWNER or ADMIN role on the organization.
**Authentication:** Bearer token required.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
carrier_id
preference_id
Headers
X-Organization-ID
Request
This endpoint expects an object.
reason
Constrained reason code; see AuditLogReason for the value set.
reason_note
Response
Successful Response
id
carrier_id
lane_id
is_active
preference_type
updated_at
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error

