Update a pathway in a curricula version
Partial update of pathway name, type, position, or description. Returns the updated pathway row. Scoped to your integration’s institution via Basic Auth credentials.
PATCH
/curricula/{id}/versions/{versionId}/pathways/{pathwayId}Path parameters
idstringrequiredversionIdstringrequiredpathwayIdstringrequiredRequest body
requiredapplication/jsonnamestringtypestringAllowed:
FIXEDSELECTABLE_FOCUSpositionintegerdescriptionstringResponses
200Updated pathway
dataCurriculaVersionPathwayrequiredStudy pathway within a curricula version. FIXED pathways are mandatory; SELECTABLE_FOCUS pathways let students choose a focus area.
Show propertiesHide properties
idstringrequiredpositionintegerrequirednamestringrequiredtypestringrequiredFIXED = mandatory pathway; SELECTABLE_FOCUS = student chooses one focus.
Allowed:
FIXEDSELECTABLE_FOCUScurriculaVersionIdstringrequireddescriptionstring | nullmetaResponseMetarequiredShow propertiesHide properties
requestIdstringrequiredtimestampstring<date-time>requiredversionstringrequiredAllowed:
v4401Unauthorized
typestringrequiredAllowed:
errorcodestringrequiredAllowed:
bad_requestunauthorizedforbiddenresource_not_foundconflictvalidation_failedidempotency_key_reusedrate_limit_exceededinternal_errortitlestringrequiredstatusintegerrequireddetailstringrequiredinstancestringerrorsobject[]Show propertiesHide properties
Array of
objectfieldstringmessagestring404Not Found
typestringrequiredAllowed:
errorcodestringrequiredAllowed:
bad_requestunauthorizedforbiddenresource_not_foundconflictvalidation_failedidempotency_key_reusedrate_limit_exceededinternal_errortitlestringrequiredstatusintegerrequireddetailstringrequiredinstancestringerrorsobject[]Show propertiesHide properties
Array of
objectfieldstringmessagestring429Too Many Requests
typestringrequiredAllowed:
errorcodestringrequiredAllowed:
bad_requestunauthorizedforbiddenresource_not_foundconflictvalidation_failedidempotency_key_reusedrate_limit_exceededinternal_errortitlestringrequiredstatusintegerrequireddetailstringrequiredinstancestringerrorsobject[]Show propertiesHide properties
Array of
objectfieldstringmessagestring500Internal Server Error
typestringrequiredAllowed:
errorcodestringrequiredAllowed:
bad_requestunauthorizedforbiddenresource_not_foundconflictvalidation_failedidempotency_key_reusedrate_limit_exceededinternal_errortitlestringrequiredstatusintegerrequireddetailstringrequiredinstancestringerrorsobject[]Show propertiesHide properties
Array of
objectfieldstringmessagestringRequest
curl -X PATCH "https://fuxam.app/api/v4/curricula/string/versions/string/pathways/string" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"type": "FIXED",
"position": 0,
"description": "string"
}'const response = await fetch("https://fuxam.app/api/v4/curricula/string/versions/string/pathways/string", {
method: "PATCH",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"name": "string",
"type": "FIXED",
"position": 0,
"description": "string"
})
});import requests
response = requests.patch(
"https://fuxam.app/api/v4/curricula/string/versions/string/pathways/string",
headers={
"Content-Type": "application/json"
},
json={
"name": "string",
"type": "FIXED",
"position": 0,
"description": "string"
},
)Response
{
"data": {
"id": "path_001",
"position": 0,
"name": "Software Engineering",
"type": "SELECTABLE_FOCUS",
"curriculaVersionId": "cv_001",
"description": "string"
},
"meta": {
"requestId": "req_1234567890_abc",
"timestamp": "2026-06-02T07:00:00.000Z",
"version": "v4"
}
}{
"type": "error",
"code": "resource_not_found",
"title": "Not Found",
"status": 404,
"detail": "Course not found",
"instance": "req_1234567890_abc",
"errors": [
{
"field": "string",
"message": "string"
}
]
}{
"type": "error",
"code": "resource_not_found",
"title": "Not Found",
"status": 404,
"detail": "Course not found",
"instance": "req_1234567890_abc",
"errors": [
{
"field": "string",
"message": "string"
}
]
}{
"type": "error",
"code": "resource_not_found",
"title": "Not Found",
"status": 404,
"detail": "Course not found",
"instance": "req_1234567890_abc",
"errors": [
{
"field": "string",
"message": "string"
}
]
}{
"type": "error",
"code": "resource_not_found",
"title": "Not Found",
"status": 404,
"detail": "Course not found",
"instance": "req_1234567890_abc",
"errors": [
{
"field": "string",
"message": "string"
}
]
}