cURL
Soft delete an Agent (marks status as
deleted). The API is idempotent: repeated deletions do not error.
Deleting an Agent requires Knowledge Base - Delete permission.
Authorizations
string
header
required
DashScope API Key, obtained from the API Key page in the console.
Body
application/jsonstring
required
Agent ID.
Response
200-application/json
string
Unique request identifier. Provide this ID when troubleshooting issues.
integer
HTTP status code.
string
Response code. Success on success.
string
Informational message.
enum<string>
Request status: SUCCESS or FAILED.
SUCCESS,FAILED
boolean
Whether the request succeeded.
string
Agent ID.
string
Agent status. deleted after deletion.