Skip to Content
Documents

Delete documents

DELETE
/documents

Deletes the named documents with their generated audio and audiobooks. This cannot be undone.

Authorization

headerAuthorizationBearer <token>

Authorization code with S256 PKCE. Discover issuer metadata at /.well-known/oauth-authorization-server/api/auth and resource metadata at /.well-known/oauth-protected-resource/api/v1. Request the /api/v1 resource explicitly. The same token endpoint also supports the advertised OAuth device grant.

Scope: documents:write

Query Parameters

ids*string

Required comma-separated canonical IDs, at most 200.

Response Body

Number of owned documents deleted; unknown IDs are ignored.

application/json
  1. response
deleted*integer
Example Request
curl -X DELETE 'https://reader.example/api/v1/documents?ids=string'
Example Response
{  "deleted": 0}