Skip to main content

Invoking Uninstall Action in Response to an Alert

This section describes the App Broker REST API endpoints to invoke an uninstall action in both a system administrator context and in a user context.

System Administrator Context

This section describes the App Broker REST API endpoint to invoke an uninstall action as a system administrator in response to an alert.

Endpoint Example (Input)Response Body Example (Output)
URI Example [PUT] http://localhost/esd/api/alerts/22184Status code of 200 with empty body.
Request Body Example { "response":"uninstall","questions": [ {"questionId":5,"answers": [ {"answer":"I said so." } ] }, {"questionId":6,"answers": [ {"answer":"I said so." } ] } ] }

User Context

This section describes the App Broker REST API endpoint to invoke an uninstall action under a user context in response to an alert.

Endpoint Example (Input)Response Body Example (Output)
URI Example [PUT] http://localhost/esd/api/alerts/22184?dn=appportal&un=jsmithStatus code of 200 with empty body.
Request Body Example { "response":"uninstall","questions": [ {"questionId":5,"answers": [ {"answer":"I said so." } ] }, {"questionId":6,"answers": [ {"answer":"I said so." } ] } ] }