`POST /api/apps/{id}/uninstall` -- drop every membership row but keep the App row. Idempotent: re-running uninstall on an empty App is a no-op (the report counts go to zero).
POST
/api/apps/{id}/uninstall
const url = 'https://example.com/api/apps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/uninstall';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/apps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/uninstallParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”Media typeapplication/json
Returned by uninstall – the counts of each member kind that were
dropped from the join tables.
object
resources
required
integer
scripts
required
integer
workflows
required
integer
Examplegenerated
{ "resources": 1, "scripts": 1, "workflows": 1}