👋 Welcome to the new Omni docs! We're still migrating, but the old docs are available at docs-legacy.omni.co.
cURL
curl --request DELETE \ --url https://{instance}.omniapp.co/api/v1/documents/{documentId} \ --header 'Authorization: Bearer <token>'
{ "success": true }
Delete document (moves to Trash)
Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN
Bearer YOUR_TOKEN
Document identifier
Document deleted successfully
true
Was this page helpful?