Update Npm Dependencies
Saves the app's npm dependencies to its project package.json, installs them, and syncs the project's files to its servers. If package.json cannot be read, a new one is created and the call asks you to refresh and save again.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
agent_firewall_closeuserClose inbound TCP port(s) on the current app's firewall. Acts only on the current app.
agent_firewall_listuserList the inbound firewall rules (open ports) for the current app. Check what is reachable from outside before opening or closing ports.
agent_firewall_openuserOpen inbound TCP port(s) on the current app's firewall so the service becomes reachable from outside. Use when a service is up locally but times out from outside. Acts only on the current app.
change_under_attack_modeadminToggles Cloudflare under-attack mode for the application.
clear_traffic_logsadminLaunches a background job that deletes the application's visit log documents.
compact_databaseadminLaunches a background job that deletes stat-4 documents and compacts the application's database.
33 of 61 in Applications