Rename a course test or change its description.
Updates the name or description of a test in a course lesson; only the keys you send are changed. The path formId is the test's form UUID, not the test id; send type=3.
Endpoint
put https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/session/{sessionId}/forms/{formUuid}.json
OAuth Scope
Headers
ID of the academy (orgId).
Path Parameters
ID of the course lesson (sessionId) that holds the test.
Form UUID of the test (the part of tests[].formId before the underscore), not the test id.
Query Parameters
Form type. Allowed: 3=Test.
Request Body
application/jsonName and description to change; send at least one.
Hide Sub-Attributes
New name of the test. Max 50 characters.
Instructions shown before the test. Supports rich text. An empty string clears it.
curl --request PUT \
--url 'https://trainercentral.zoho.com/tc/api/v1/trainer/session/21603000000354002/forms/7305cb9e-3913-49d7-8cb9-eebd159f5281.json?type=3' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--header 'tc-orgId: 51517414' \
--data '{"form":{"name":"Business Fundamentals Assessment","description":"<p>Answer all questions on SaaS metrics, business planning and cash flow.</p>"}}' {
"form": {
"name": "Business Fundamentals Assessment",
"description": "<p>Answer all questions on SaaS metrics, business planning and cash flow.</p>"
}
}
{
"form": {
"name": "Module 1 Quiz"
}
}
Response Parameters
The test form after the update.
Hide Sub-Attributes
Test form ID (formUuid_sessionId). The part before the underscore is the form UUID.
Form UUID of the test. Returned only by Create Course Test.
Same as formId.
ID of the lesson that holds the test.
Name of the test.
Test instructions. Supports rich text.
Form type. Always 3 (Test).
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_79 | INVALID_SESSION - The sessionId is not a lesson in this academy. Use tests[].sessionId from List Course Tests; do not retry unchanged. |
| ST_401 | SESSION_DELETED - The lesson (sessionId) is deleted. Use an existing lesson; do not retry unchanged. | |
| ST_102 | UNAUTHORISED_ACCESS - The user cannot edit this test. Use an academy owner, admin, course trainer or lesson owner; do not retry unchanged. | |
| ST_819 | TEST_FEATURE_UNAVAILABLE - The academy plan does not include graded tests. Upgrade the plan; do not retry until then. | |
| ST_64 | UNABLE_TO_RETRIEVE_TALK_SETTINGS_DATA - No test with this form UUID in the lesson, or type is not 3. Send the part of tests[].formId before the underscore and type=3; do not retry unchanged. |
{
"form": {
"id": "7305cb9e-3913-49d7-8cb9-eebd159f5281_21603000000354002",
"formId": "7305cb9e-3913-49d7-8cb9-eebd159f5281_21603000000354002",
"sessionId": "21603000000354002",
"name": "Business Fundamentals Assessment",
"description": "<p>Answer all questions on SaaS metrics, business planning and cash flow.</p>",
"type": "3"
}
}
{
"error": {
"code": "string",
"codeStr": "string",
"message": "string"
}
}
500 Request failed; see the error code.© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.