Remove sharing
Scope
Remove access rights from the specific session.
Description
1. Person access rights to the session is removed
2. If there is no other Persons with whom session is shared, status "shared" is removed from the session.
Request
The Service provider's application sends the following GET request using TLS:
DELETE /api-share/v1.0/{sessionId}/persons/{personId}
Property | Description |
---|---|
sessionId | File processing session identifier |
personId | Identificator of of the person |
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-share/v1/80832540faff3f90246b71122a4bd6896cd50933cc12a22d99a577b7b41d55e2/Persons/111111-11111 HTTP/1.1 Authorization: Bearer a477b3a3366768c07e4c458f518711b4b351e8d2c2f0f78a1524e4d3efd00603 Host: signapi-prep.eparaksts.lv
Response
JSON object:
{ "data": {String} }
Property | Description |
---|---|
data | Information about operation status |
Example
{ "data": "Sharing of the session 552825f4eafdbf90a676ea40c4802c9d1f27c20373c2594c0dfe950976ce2b19 removed for 1 person" }