DELETE
/v1/workspace/processor/file-types/{key}/examples/{exampleId}Remove an example from a file type
Takes one example document off a file type in processor-v2's catalogue. :key is the app's document word (bank_statement, id, …) or a workspace's own custom_ type; :exampleId is the example's id (its sha256) from the list. 400 for a word processor-v2 has no type for; 501 while processor-v2 does not serve removing an example; 503 when this deployment has no processor-v2. Admin only.
Access class: workspace:admin.
Send request
Use the documented inputs to call this endpoint directly.
API serverbase URL
Bearer tokensessionoptional
Stored only in this browser for the session security scheme and reused on every API page in this group.
Parameters
Values are applied to the request and the example on the right.
keypath · stringrequired
exampleIdpath · stringrequired
Responses
200application/json
the action's answer
{}datanulloptional
defaultapplication/json
a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}errorstringrequired