Put driver coach assignments.
This endpoint will update an existing or create a new coach-to-driver assignment for your organization based on the parameters passed in. This endpoint should only be used for existing Coach to Driver assignments. In order to remove a driver-coach-assignment for a given driver, set coachId to null
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
To use this endpoint, select Write Coaching under the Coaching 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
- Base URLhttps://api.samsara.com
- AuthHTTP bearer
Query parameters
Required string ID of the driver. This is a unique Samsara ID of a driver.
Optional string ID of the coach. This is a unique Samsara user ID. If not provided, existing coach assignment will be removed.
Response
OK response.
Example response
{
"data": {
"coachId": "45646",
"createdAtTime": "2019-06-13T19:08:25Z",
"driverId": "45646",
"updatedAtTime": "2019-06-13T19:08:25Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.