Deletes an event source.
Operation description
Deletes an event source.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EventBusName |
string |
No |
The event bus to which the event source is attached. |
|
| EventSourceName |
string |
Yes |
The name of the event source. |
myrabbitmq.source |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The error message. |
Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ] |
| RequestId |
string |
The unique request ID that is generated by Alibaba Cloud. |
5f80e9b3-98d5-4f51-8412-c758818a03e4 |
| Code |
string |
The status code. A value of `Success` indicates that the call is successful. For more information about other values, see Error codes. |
Success |
| Success |
boolean |
Indicates whether the call is successful. A value of `true` is returned on success. |
true |
Examples
Success response
JSON format
{
"Message": "Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]",
"RequestId": "5f80e9b3-98d5-4f51-8412-c758818a03e4",
"Code": "Success",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.