Session - Close
Scope
Delete file processing session and related documents from memory.
Description
- Deleting files stored and created in the file processing session.
- Deleting the file processing session directory.
Request
The Service provider's application sends the following GET request using TLS:
GET /api-session/v1.0/{sessionId}/close
Ploperty | Type | Usage | Description |
---|---|---|---|
sessionId | String (64) | Mandatory | Session identifier |
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
GET /api-session/v1.0/77740b301f0880ef498cb1e474e8060b3e538cfeea8ebf508c2bad4b72b56a87/close HTTP/1.1 Authorization: Bearer a477b3a3366768c07e4c458f518711b4b351e8d2c2f0f78a1524e4d3efd00603 Host: signapi-prep.eparaksts.lv
Response
JSON object:
{ "data": "Session {sessionId} closed" }
Property | Type | Description |
---|---|---|
sessionId | String | File processing session identifier |
Example
{ "data": "Session 77740b301f0880ef498cb1e474e8060b3e538cfeea8ebf508c2bad4b72b56a87 closed" }