Deletes an event source.

URI

/openapi/deleteEventSource

Request parameters

Parameter Type Required Example Description
EventSourceName String Yes myrabbitmq.source The name of the event source to be deleted.

Response parameters

If the event source is deleted, the HTTP status code 200 is returned and no response body is returned.

Examples

Sample requests

POST /openapi/deleteEventSource HTTP/1.1
Host: 164901546557****.eventbridge.cn-hangzhou.aliyuncs.com
Date: Sat, 18 Apr 2020 05:30:41 GMT
x-eventbridge-version: 2020-04-01
Authorization: acs vZ3VL0SuJdHi****:Jo2PbT******azYAYoYslKLvWzg=
Content-Type: application/json;charset=UTF-8
Content-Length: 26

{
    "EventSourceName":"rabbitmq.source"
}

Sample responses

HTTP/1.1 200 OK
Server: AliyunEventBridge
Connection: keep-alive
Content-Type: application/json;charset=utf-8
Content-Length: 79
x-eventbridge-request-id: 0b03cd8a-e5d2-4efc-8cb7-4deabaac****
Date: Sat, 18 Apr 2020 05:30:41 GMT

{
    "code":"200",
    "data":{
        "RequestId":"0b03cd8a-e5d2-4efc-8cb7-4deabaac****",
        "Data":true,
        "Code":"Success",
        "Success":true
    },
    "httpStatusCode":"200",
    "requestId":"0b03cd8a-e5d2-4efc-8cb7-4deabaac****",
    "successResponse":true
}