v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBPaths
Edit a path session
🔑
Required OAuth scope: paths:write.
Edits specific fields of an existing path session. Fields not included in the request payload remain unchanged.
patch/api/v2/paths/{pathId}/sessions/{sessionId}
Path parameters
pathIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the path.
sessionIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the path session.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"additionalInformation": "A0015221",
"instructorIds": [
"507f1f77bcf86cd799439011"
],
"mainInstructorId": "507f1f77bcf86cd799439011",
"name": "Employee Onboarding October Session.",
"groupId": "507f1f77bcf86cd799439011",
"automaticReenrollment": {
"delayDays": 90
}
}Response
Returns the updated session.
Example response
{
"mainInstructorId": "507f1f77bcf86cd799439011",
"automaticReenrollment": {
"delayDays": 90
},
"_id": "507f1f77bcf86cd799439011",
"groupId": "507f1f77bcf86cd799439011",
"instructorIds": [
"507f1f77bcf86cd799439011"
],
"name": "Employee Onboarding October Session.",
"pathId": "507f1f77bcf86cd799439011",
"additionalInformation": "A0015221",
"rootSessionId": "507f1f77bcf86cd799439011",
"translations": [
{
"lang": "fr",
"translatorIds": [
"507f1f77bcf86cd799439011"
],
"translatedFields": {
"name": "Accueil des employés Session d'Octobre"
}
}
]
}