Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
DELETE

Delete an incoming document

Scope: accounting:purchases.write https://api.alladdin.com/api/v2/inbox/{incomingDocumentId}

Permanently deletes an incoming document and its associated files from the inbox. This action cannot be undone.
Incoming documents are scanned purchase documents that have not yet been exported or attached to a Alladdin document.

Parameters

Path parameters

incomingDocumentId string required

Incoming document identifier (24-char hex ObjectId)

Request

python
import requests

url = "https://api.alladdin.com/api/v2/inbox/507f1f77bcf86cd799439011"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.delete(url, headers=headers)
print(response.json())

Responses

Success responses

204 Resource deleted

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Incoming document not found application/json 429 Rate limit exceeded application/json

← PreviousGet a processed thumbnail of a file from an inbox document →