PUT/api/v1/documents/{doc_id}/auto-tags/{applied_tag_id}
Update an applied auto tag value
Update the extracted value of an applied auto tag for a specific document.<br/><br/>Editing a document's tag value is editing that document, so it takes the<br/>same role as PATCH /api/v1/documents/<doc_id>: member or above. The applied<br/>row must belong to the caller's workspace and to `doc_id`; any other id<br/>answers 404, the same as an id that does not exist.
PARAMETERS
- doc_idpath · stringREQUIRED
- Document id.e.g. string
- applied_tag_idpath · stringREQUIRED
- Id of the auto tag as applied to this document.e.g. string
REQUEST
curl -X PUT "https://gateway.kumkuat.ai/api/v1/documents/string/auto-tags/string" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.put("https://gateway.kumkuat.ai/api/v1/documents/string/auto-tags/string", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/documents/string/auto-tags/string", {
method: "PUT",
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
