Skip to main content
DELETE
/
extractions
/
sessions
/
{sessionId}
Delete Session
curl --request DELETE \
  --url https://api.raydocs.com/extractions/sessions/{sessionId} \
  --header 'Authorization: Bearer <token>'

Authentication & Scope

Requires the sessions-write ability.
This action is irreversible. All documents and extraction results in the session will be permanently deleted.

Request

DELETE /extractions/sessions/770e8400-e29b-41d4-a716-446655440000 HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
sessionIduuidYesThe session ID

Response

204 No Content – Session successfully deleted. 404 Not Found – Session does not exist or you don’t have access.

Authorizations

Authorization
string
header
required

Personal Access Token

Path Parameters

sessionId
string<uuid>
required

Response

Deleted