Delete an App
- DELETE /api/v1.2/apps/<app-ID>
Use this API to delete a Spark Job Server app by specifying its unique app-ID. Creating an app returns an unique app ID. For more information, see Understanding the Spark Job Server.
Required Role
The following users can make this API call:
Users who belong to the system-user or system-admin group.
Users who belong to a group associated with a role that allows creating an account. See Managing Groups and Managing Roles for more information.
Parameters
None
Request API Syntax
Here is the API Syntax.
curl -i -X DELETE -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Accept: application/json" -H "Content-type: application/json" \
"https://api.qubole.com/api/v1.2/apps/<app-ID>"
Note
The above syntax uses https://api.qubole.com as the endpoint. Qubole provides other endpoints to access QDS that are described in Supported Qubole Endpoints on Different Cloud Providers.
Sample API Request
Here is an example to delete a Spark Job Server app with 300 as its ID.
curl -i -X DELETE -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Accept: application/json" -H "Content-type: application/json" \
"https://api.qubole.com/api/v1.2/apps/300"