Deletes an API destination.
Operation description
You can call this API operation to delete an API destination.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:DeleteApiDestination |
delete |
*ApiDestination
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApiDestinationName |
string |
Yes |
The name of the API destination. |
ApiDestinationName |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
382E6272-8E9C-5681-AC96-A8AF0BFAC1A5 |
| Message |
string |
The returned message. If the request is successful, success is returned. If the request failed, an error code is returned. |
success |
| Code |
string |
The returned response code. The value Success indicates that the request is successful. |
Success |
Examples
Success response
JSON format
{
"RequestId": "382E6272-8E9C-5681-AC96-A8AF0BFAC1A5",
"Message": "success",
"Code": "Success"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | InternalError | |
| 409 | RequestParameterException | Request parameter exception | |
| 409 | ApiDestinationNotExist | The api-destination not existed! |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.