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-admin or system-user 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 GET -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Accept: application/json" -H "Content-type: application/json" \
"https://gcp.qubole.com/api/v1.2/apps/<app-ID>"

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://gcp.qubole.com/api/v1.2/apps/300"