Deletes a file resource from DataStudio.
Operation description
Note
A file resource that is deployed cannot be deleted. If you want to delete such a file resource, you must first undeploy the file resource.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | string | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the ID. You must configure this parameter to specify the DataWorks workspace to which the API operation is applied. | 10000 |
Id | string | Yes | The ID of the file resource. | 860438872620113XXXX |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "88198F19-A36B-52A9-AE44-4518A688XXXX",
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.