Deletes a subscription task.
Operation description
Deletes a subscription task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dhs:DeleteSubscription |
delete |
*Subscription
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name. |
test_project |
| TopicName |
string |
Yes |
The topic name. |
test_topic |
| SubscriptionId |
string |
Yes |
The subscription ID. |
1713853462590KA0YP |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2026031915480122c53d0b00c2d347 |
| Success |
boolean |
Indicates whether the operation is successful. |
True |
Examples
Success response
JSON format
{
"RequestId": "2026031915480122c53d0b00c2d347",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Error:%s. | The parameter entered is illegal |
| 400 | MissingParameter | Error:%s. | Missing required parameters |
| 400 | ResourceAlreadyExist | Error:%s. | Resource already exists |
| 500 | InternalServerError | Error:%s. | Server error, server unavailable or unexpected error occurred |
| 403 | NoPermission | Error:%s. | You are not authorized to perform this operation. |
| 403 | OperationDenied | Error:%s. | Operation denied |
| 404 | ResourceNotFound | Error:%s. | Resource does not exist |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.