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 roles can make this API call:

  • A user who is part of the system-user/system-admin group.
  • A user invoking this API must be part of 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 GET -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 GET -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Accept: application/json" -H "Content-type: application/json" \
"https://api.qubole.com/api/v1.2/apps/300"