删除消息批次
DELETE
https://api.anthropic.com/v1/messages/batches/msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.anthropic.com/v1/messages/batches/msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d' \
--header 'x-api-key: ' \
--header 'anthropic-version: 2023-06-01'
响应示例响应示例
200 - 成功示例
curl -X DELETE https://api.anthropic.com/v1/messages/batches/msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d \
--header "x-api-key: $ANTHROPIC_API_KEY" \
--header "anthropic-version: 2023-06-01" \
请求参数
Header 参数
x-api-key
string
必需
示例值:
{{ANTHROPIC_API_KEY}}
anthropic-version
string
必需
示例值:
2023-06-01
返回响应
修改于 2025-02-25 09:21:37