File Delete
Scope
Delete a file in a file processing session.
Description
The specified file is deleted from the session.
Request
The Service provider's application sends the following GET request using TLS:
DELETE /api-storage/v1.0/{sessionId}/{documentId}
Property | Type | Usage | Description |
---|---|---|---|
sessionId | String (64) | Mandatory | File processing session identifier |
documentId | String (64) | Mandatory | Document identifier, received from "upload " operation as "id " property |
Authorization
The request must contain an Authorization header with an OAuth Introspect access token obtained via Integration Platform a Service provider's credentials grant flow.
Example
DELETE /api-storage/v1.0/cd6afb8b7e9fd6aa2b2ef7b981fa98cb59128fdef6c064f74dc9cef529a79d17/cc8bcb560bbfee4c190433ea63c549d1 HTTP/1.1 Authorization: Bearer a477b3a3366768c07e4c458f518711b4b351e8d2c2f0f78a1524e4d3efd00603 Host: signapi-prep.eparaksts.lv
Response
JSON object:
{ "data": "Document {documentId} deleted" }
Property | Type | Description |
---|---|---|
documentId | String | Document identifier, received from "upload " operation as "id " property |
Example
{ "data": "Document cc8bcb560bbfee4c190433ea63c549d1 deleted" }