Skip to content

Provide information about the rejection of a document in the target system

Request

Update information about the rejection for the given document

Security
OAuth2(Required scopes: documents.write)
Path
idstringrequired

Id of of the document to update.

Bodyapplication/json

Payload about the rejection

messagestring

May be used to provide additional details about the rejection.

curl -i -X POST \
  'https://api.cloud.hypatos.ai/v2/documents/{id}/reject' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "message": "Document was rejected!"
  }'

Responses

Document rejection request accepted

Response
No content