Disable a QDS Account

Use this API to disable a specific Qubole account. A user having access to multiple Qubole accounts can still access other Qubole accounts except the disabled account. For enabling the disabled-account, create a ticket with Qubole Support. This feature is currently supported only through the API.

Required Role

The following users can make this API call:

  • Users who belong to the system-admin group.

Parameters

Note

Parameters marked in bold below are mandatory. Others are optional and have default values.

Parameter Description
id Account ID of the account that you want to disable.

Request API Syntax

curl -X PUT -H "X-AUTH-TOKEN:<AUTH-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json" \
-d '{"id":"<Account-Id>"}' \ "https://gcp.qubole.com/api/v1.2/accounts/disable"

Sample Request

Here is a sample request API to delete a Qubole account with ID 23.

curl -X PUT -H "X-AUTH-TOKEN:<AUTH-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json"
-d '{"id":"23"}' \ "https://gcp.qubole.com/api/v1.2/accounts/disable"