cURL
curl --request DELETE \ --url https://api.reportify.cn/v1/docs/delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "doc_ids": [ "<string>" ] } '
{ "doc_ids": [ "<string>" ] }
OAI docs delete
/v1/docs/delete
DELETE
curl -X DELETE https://api.reportify.cn/v1/docs/delete \ -H "Authorization: Bearer 447460****09c9" \ -H "Content-Type: application/json" \ -d '{ "doc_ids": [ "632486024552595", "632486024552596" ] }'
import requests url = "https://api.reportify.cn/v1/docs/delete" headers = { "Authorization": "Bearer 447460****09c9", "Content-Type": "application/json" } payload = { "doc_ids": [ "632486024552595", "632486024552596" ] } response = requests.delete(url, headers=headers, json=payload) print(response.json())
{ "doc_ids":["632486024552595"] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response