Rename or move a chapter.
Renames a chapter (section), moves it to another position, or both. When sectionIndex changes, the chapters in between shift by one.
Endpoint
put https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/course/{courseId}/sections/{sectionId}.json
OAuth Scope
Headers
ID of the academy (orgId).
Path Parameters
ID of the course.
ID of the chapter (sectionId).
Request Body
application/jsonChapter changes. Send name, sectionIndex or both.
Hide Sub-Attributes
New name of the chapter (min 3 characters).
New position of the chapter, starting at 0; chapters in between shift by one.
Status of the chapter. Allowed: 0=Default (visible), 1=Draft.
curl --request PUT \
--url https://trainercentral.zoho.com/tc/api/v1/trainer/course/{courseId}/sections/{sectionId}.json \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--header 'tc-orgId: 51517414' \
--data '{"section":{"name":"Python Fundamentals"}}' {
"section": {
"name": "Python Fundamentals"
}
}
{
"section": {
"sectionIndex": 0
}
}
Response Parameters
Chapters of the course, ordered by sectionIndex.
Hide Sub-Attributes
Show Sub-Attributes
ID of the chapter (sectionId).
Same as sectionId.
Name of the chapter.
Name of the chapter (returned by Create Course Chapter).
Position of the chapter, starting at 0.
Status of the chapter. Allowed: 0=Default (visible), 1=Draft.
ID of the course.
Same as courseId.
Number of lessons in the chapter.
User ID of the creator.
Creation time in epoch milliseconds.
User ID of the last editor.
Last update time in epoch milliseconds.
Error details.
Hide Sub-Attributes
Deprecated numeric error code (for example ST_202). Prefer codeStr; omitted from doc samples.
Error code name (ShowtimeErrorCode / err_code_str), for example MISSING_PARAMETER.
Error message.
Possible Error Codes
| HTTP Code | Error Code | Description |
|---|---|---|
| 500 | ST_94 | INVALID_COURSE - Course not found or deleted. Pass a valid courseId. Do not retry unchanged. |
| ST_99 | INVALID_COURSE_SECTION - Chapter not found in this course, or deleted. Pass a valid sectionId. Do not retry unchanged. | |
| ST_102 | UNAUTHORISED_ACCESS - The user is not an academy owner, admin or trainer of this course. Do not retry with the same token. |
{
"sections": [
{
"sectionId": "3000000000060",
"id": "3000000000060",
"name": "Object-Oriented Python",
"sectionIndex": "0",
"status": "0",
"courseId": "3000000000022",
"lastUpdatedBy": "51456901",
"lastUpdatedTime": "1782727715513"
},
{
"sectionId": "3000000000050",
"id": "3000000000050",
"name": "Getting Started",
"sectionIndex": "1",
"status": "0",
"courseId": "3000000000022",
"lastUpdatedBy": "51456901",
"lastUpdatedTime": "1782727715513"
}
]
}
{
"sections": []
}
{
"error": {
"code": "string",
"codeStr": "string",
"message": "string"
}
}
500 Request failed; see the error code.© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.