JavaScript
Apps
Stop app
Force-stops the app identified by the path package name. When clearData is set in the request body, the app’s data is also cleared. Protected packages cannot be stopped.
PATCH
JavaScript
Authorizations
Bearer token via Authorization header
Headers
Required range:
x >= 0Body
application/json
If true, clears all app data (pm clear) in addition to stopping the app.
Response
No Content