Skip to main content
DELETE
/
text-detections
/
file
/
{fileId}
/
rect
/
{id}
Delete a single redaction box
curl --request DELETE \
  --url https://api.indoralabs.com/text-detections/file/{fileId}/rect/{id} \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "<string>",
    "page": 123,
    "x": 123,
    "y": 123,
    "w": 123,
    "h": 123,
    "label": "<string>",
    "type": "<string>",
    "reason": "<string>",
    "spanIds": [
      "<string>"
    ],
    "source": "auto"
  }
]

Authorizations

x-api-key
string
header
required

Path Parameters

fileId
string<uuid>
required

UUID of the file whose redaction details will be modified.

rectId
string
required

Identifier of the redaction box to delete.

Response

Redaction box successfully deleted.

id
string
page
number
x
number
y
number
w
number
h
number
label
string
type
string
reason
string
spanIds
string[]
source
enum<string>
Available options:
auto,
manual