Update an existing module
Updates a library module's name and/or description. Accepts PATCH only (PUT was removed in favor of REST norms; SDK/CLI clients already use PATCH).
PATCH
/api/library/module/{id}Path parameters
idstringrequiredBody
namestringdescriptionstringRequest
curl
curl -X PATCH https://platform.trickest.com/api/library/module/{id} \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Updated module
idstringrequirednamestringrequireddescriptionstringtypeenumrequiredOne of: TOOL, SCRIPT, MODULE
categorystringauthorstringinputsobject[]outputsobject[]workflowstringvaultstringvault_infoobject400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring