DeleteAgent
Updated at:
Copy as MD
Deletes a custom agent.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:DeleteAgent |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
The name of the agent. |
my-agent |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B896B484-F16D-59DE-9E23-DD0E5C361108 |
| Message |
string |
The error message. |
Agent with name 'xxx' not found for account 1186xxx |
| Code |
string |
The API status or POP error code. Valid values:
|
AgentNotFound |
Examples
Success response
JSON format
{
"RequestId": "B896B484-F16D-59DE-9E23-DD0E5C361108",
"Message": "Agent with name 'xxx' not found for account 1186xxx",
"Code": "AgentNotFound"
}
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.
Is this page helpful?