Self Help Documentation
< All Topics

software/togglenodejsappstatus

Description

Starts, stops, or restarts a deployed Node.js application from a given SPanel user account.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed. Use software/togglenodejsappstatus.
idstringYesThe application ID in the format domain + application_url (without protocol), for example: example.com/myapp.
statusstringYesAccepted values: start, stop, restart.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents