RemoveMyFocusResource
Removes a specified project or quota from the watchlist of the current caller. It locates the watchlist entry based on the resource type and resource name without deleting the actual resource.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:RemoveMyFocusResource |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /api/v1/myFocusResource HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| resType |
string |
Yes |
The type of the resource to unwatch. Use PROJECT for projects. |
PROJECT |
| resName |
string |
Yes |
The name of the project or quota to unwatch. |
example_project |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The ID of the request. You can use this ID to query request logs and troubleshoot issues. |
A9E5C7F4-42AC-4FFA-9019-B6B2B57983EF |
| httpCode |
integer |
The HTTP status code of the error response. The example indicates that the server encountered an unexpected exception. |
500 |
| errorCode |
string |
The error code returned when the call fails. The example indicates an internal server error. |
INTERNAL_SERVER_ERROR |
| errorMsg |
string |
The error message returned when the call fails. The example indicates that a database operation failed. |
Database operation failed |
| data |
string |
The result returned after the unwatch request is successfully processed. |
success |
Examples
Success response
JSON format
{
"requestId": "A9E5C7F4-42AC-4FFA-9019-B6B2B57983EF",
"httpCode": 500,
"errorCode": "INTERNAL_SERVER_ERROR",
"errorMsg": "Database operation failed",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.