[beta] Update a ridership route setup.

Update (replace) the passenger assignment setup for a route. All existing assignments will be replaced with the provided assignments.

Rate limit: 100 requests/min (learn more about rate limits here).

To use this endpoint, select Write Ridership under the Ridership category when creating or editing an API token. Learn More.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

Query Params
string
required

The route ID. This is the Samsara route ID returned by the Routing API.

Body Params
string
required

The Samsara UUID of the ridership account.

passengers
array of objects
required

List of passenger assignments for the route.

passengers*
Responses

Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json