Delete an Existing Database

This will permanently delete a database on the selected data source server.

Method

/API2/dataSources/deleteDataBase

  • API Section: /API2/dataSources
  • API Version: 2.0
  • From Release: 2018.5
  • Usage: REST API only via POST actions.
  • Usage by:
    • Enterprise Admin

Method Signature

Input Parameters

Name

databaseId

Type

string

Description

The database's ID

Output Response

Successful Result Code

200

Response Type

Description of Response Type

Generic API response object with success or failure flag and related messages.

Notes

This function should be used very cautiously, because it will delete the selected server. This does not apply to MS OLAP, Tabular or Hana databases.

Examples