Uninstall app
Uninstalls the specified app.
HTTP Request
POST /api/sonar/apps/uninstall
cURL Example
curl -H "Authorization: Bearer <API_KEY>" \
-X POST -d app_code=sample-app \
https://HOSTNAME/api/sonar/apps/uninstall
Request Parameters
| Key | Required | Type | Description | Notes |
|---|---|---|---|---|
| app_code | Y | String | App code |
Successful Response
HTTP status code 200 response
{}
Error Responses
app_code: app not found
HTTP status code 500 response
{
"error_code": "illegal-state",
"error_msg": "app-not-found"
}