Deletes a catalog.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:DeleteCatalog |
*All Resource
|
None | None |
Request syntax
DELETE /api/metastore/catalogs HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CatalogId |
string |
Yes |
The ID of the catalog. |
catalog_test |
| IsAsync |
boolean |
No |
Specifies whether the deletion is asynchronous. By default, the operation is synchronous. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Code |
string |
The status code. |
OK |
| Message |
string |
The returned message. |
. |
| RequestId |
string |
The request ID. |
B7F4B621-E41E-4C84-B97F-42B5380A32BB |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| TaskId |
string |
The ID of the asynchronous task to delete the catalog. |
c38206c3aca0c41332ffe49294243009 |
Examples
Success response
JSON format
{
"Code": "OK",
"Message": ".",
"RequestId": "B7F4B621-E41E-4C84-B97F-42B5380A32BB",
"Success": true,
"TaskId": "c38206c3aca0c41332ffe49294243009"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.