Deletes a stored model response based on its response ID.
China (Beijing)
SDK call configuration base_url: https://dashscope.aliyuncs.com/compatible-mode/v1
HTTP request: DELETE https://dashscope.aliyuncs.com/compatible-mode/v1/responses/{response_id}
Path parameterresponse_id Response ID to delete, in the format |
Python
Node.js
cURL
|
Response |
|
|
id ID of the deleted response. |
|
|
deleted
|
Error response
Returned when the specified response ID does not exist:
{
"error": {
"message": "Response with id 'resp_xxx' not found.",
"type": "InvalidParameter"
}
}
该文章对您有帮助吗?