The Postman request:
Key | value | notes |
---|---|---|
fileId | {{file-id-to-delete}} | the fileId for the documentat that has to be removed from the system |
Standard headers, nothing to update here.
Is not used for this request
Is not used for this request
The following script is executed after the request is sent, to evaluate the response and also to set up environment variables (if they are needed for following requests)
// following test will verify the expected response code for this request pm.test("Status code is 200", function () { pm.response.to.have.status(200); }); |
We will get a 1 as success of the transaction
Normal headers.
This depends on the test we set up in the test script
The file will be removed from the "transit area", but the registration will still be available and its information could be accessed via b.2.1.2.- POST retrieval:
However, if you try to download the file (via b.2.1.3.- Get the file URL for download), you will receive an error, as the file is not "ready for download":