Skip to main content
DELETE
/
workspaces
/
{workspaceId}
/
documents
/
{documentId}
Delete a workspace document
curl --request DELETE \
  --url https://origami.chat/api/v2/workspaces/{workspaceId}/documents/{documentId} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string<uuid>
required
documentId
string<uuid>
required

Response

{ documentId, deleted: true }.