Endpoint
PUT https://api.luarmor.net/v3/projects/{project_id}/scripts/{script_id}
Path parameters
Headers
Request body
The body is the script’s settings object, plus the new source code inscript.
Success response
200: the script was updated.
use_reactor), the response includes a track_progress ID instead. Pass it to Get Update Progress to check when the update has finished.
Error responses
If the response mentions that the script is
too large for this channel, the upload was rejected and retrying will not help.
Example request
To update your script from GitHub Actions, use luarmor-deploy-action, which handles progress tracking and timeouts for you.
