Skip to content

Update the account text in image settings

Request

Security
bearerToken
Bodyapplication/jsonrequired
enabledboolean or null

Whether text in image extraction is enabled

Example:true
confidencenumber or null

A number between 1 and 100 indicating how confident Dash should be about the text in the image

Example:85
curl -i -X PATCH \
  https://api-v2.dash.app/text-in-image-settings \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "enabled": true,
    "confidence": 85
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "enabled": true, "confidence": true }, "permittedActions": [ {} ] }