Collections - Delete Collection
Menghapus entitas Koleksi.
DELETE {endpoint}/collections/{collectionName}?api-version=2019-11-01-preview
Parameter URI
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
collection
|
path | True |
|
|
|
endpoint
|
path | True |
|
Titik akhir akun akun Purview Anda. Contoh: https://{accountName}.purview.azure.com/account/ |
|
api-version
|
query | True |
|
Versi api yang akan digunakan. |
Respons
| Name | Type | Description |
|---|---|---|
| 204 No Content |
Berhasil |
|
| Other Status Codes |
Respons kesalahan diterima dari penyedia. |
Keamanan
azure_auth
Azure Active Directory Flow OAuth2.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | meniru akun pengguna Anda |
Contoh
Collections_DeleteCollection
Sample Request
DELETE {endpoint}/collections/myCollection1?api-version=2019-11-01-preview
Sample Response
Date: Wed, 13 Sep 2017 18:04:32 GMT
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
X-Content-Type-Options: nosniff
x-ms-correlation-request-id: 25c78f97-0b0a-4fe9-ad39-883a482265cd
Definisi
| Error |
Mendapatkan atau mengatur kesalahan. |
|
Error |
Model kesalahan default |
|
Error |
Model respons kesalahan default |
Error
Mendapatkan atau mengatur kesalahan.
| Name | Type | Description |
|---|---|---|
| code |
|
Mendapatkan atau mengatur kode. |
| details |
Mendapatkan atau mengatur detailnya. |
|
| message |
|
Mendapatkan atau mengatur pesan. |
| target |
|
Mendapatkan atau menetapkan target. |
ErrorModel
Model kesalahan default
| Name | Type | Description |
|---|---|---|
| code |
|
Mendapatkan atau mengatur kode. |
| details |
Mendapatkan atau mengatur detailnya. |
|
| message |
|
Mendapatkan atau mengatur pesan. |
| target |
|
Mendapatkan atau menetapkan target. |
ErrorResponseModel
Model respons kesalahan default
| Name | Type | Description |
|---|---|---|
| error |
Mendapatkan atau mengatur kesalahan. |