All Products
Search
Document Center

DataWorks:DeleteDataSource

Last Updated:Jun 11, 2026

Menghapus sumber data.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

DataSourceId

integer

Yes

ID sumber data. Anda dapat memanggil operasi ListDataSources untuk mengkueri ID.

1

Elemen respons

Element

Type

Description

Example

object

The response parameters.

HttpStatusCode

string

The HTTP status code.

200

Data

boolean

Indicates whether the data source was removed.

true

RequestId

string

The request ID.

0bc1411515937635****

Success

boolean

Indicates whether the request was successful.

true

Contoh

Respons sukses

JSONformat

{
  "HttpStatusCode": "200",
  "Data": true,
  "RequestId": "0bc1411515937635****",
  "Success": true
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 Invalid.Tenant.ConnectionNotExists The connection does not exist.
400 Invalid.Tenant.ProjectNotExists The project does not exist.
400 Invalid.Tenant.UserNotInProject The user is not in the project.
400 Invalid.Operation You cannot delete the bindingCalcEngine that is bound to the data source.
403 Invalid.Tenant.UserIsNotProjectOwnerOrAdmin The user is not a project administrator or owner.
403 Invalid.Tenant.UserNotInTenant The user is not in tenant.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.