DeleteMaterializedView
Deletes a materialized view from a specified project and schema, and removes the corresponding creation record.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:DeleteMaterializedView |
delete |
*Project
|
None | None |
Request syntax
DELETE /api/v2/projects/{projectName}/materializedViews/{name} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| projectName |
string |
Yes |
The name of the MaxCompute project. |
example_project |
| name |
string |
Yes |
The name of the materialized view. |
mv_sales_daily |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| schema |
string |
No |
The name of the schema to which the materialized view belongs. |
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The unique identifier of the API request. Provide this identifier when troubleshooting call issues. |
0be3e0aa16667684362147582e038f |
| httpCode |
integer |
The HTTP status code of the request. |
200 |
| errorCode |
string |
The error code returned when the request fails. |
InvalidArgument |
| errorMsg |
string |
The error message returned when the request fails. |
The specified parameter is invalid. |
| data |
string |
Returns success if the operation is successful. |
success |
Examples
Success response
JSON format
{
"requestId": "0be3e0aa16667684362147582e038f",
"httpCode": 200,
"errorCode": "InvalidArgument",
"errorMsg": "The specified parameter is invalid.",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.