put
https://api.testlify.com/v1/test/library/
Updates a test library's settings — shuffle behavior, question count rules, skills, timing, and category — and publishes it once it has questions.
Publishing works automatically, based on question count: a library with no questions is always saved as DRAFT, and a library with at least one question is always saved as PUBLISHED. This happens regardless of the status value you send — you don't need to set it explicitly once questions have been added.
Other behavior to be aware of:
- The test library must exist and belong to your organization.
- Switching to question-level timing recalculates each question's duration and the overall time limit accordingly. Switching to test-level timing removes per-question time limits (except for question types that require one, such as audio/video answers).
skillscannot be submitted as an empty array. Removing a skill that's still used by an existing question is also rejected.- If
testCategoryis supplied, every id must reference an existing category — use List test categories to get valid options. - Any assessments already using this library have their time limits kept in sync automatically.
- This endpoint returns no response body on success — fetch the library afterward to see the final state.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204Settings updated successfully. There is no response body — the resulting status reflects the library's question count as described above.