Deleting a Database Asset
Function
This API is used to delete a specified database asset.
Calling Method
For details, see Calling APIs.
URI
DELETE /v1/{project_id}/sdg/asset/databases/{db_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
db_id |
Yes |
String |
Database asset ID, which uniquely identifies the database asset to be deleted. |
|
project_id |
Yes |
String |
Project ID, which is used to identify a specific project. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
msg |
String |
Returned message, which is used to describe the operation result or error information. |
|
status |
String |
Return status, for example, '200', '400'. |
Status code: 204
Database asset deleted. No information is returned.
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
The database asset is deleted. |
|
204 |
Database asset deleted. No information is returned. |
|
401 |
Unauthorized access. The request is rejected. |
|
403 |
Unauthorized operation. The request is rejected. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot