The Postman request:
Request configuration
a.- Params
Key | value | notes |
---|---|---|
fileId | {{file-id-to-delete}} | the fileId for the documentat that has to be removed from the system |
b.- Headers
Standard headers, nothing to update here.
c.- Body
Is not used for this request
d.- Pre-request script
Is not used for this request
e.- Tests script
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)
Expected response
f.- Body
We will get a 1 as success of the transaction
g.- Headers
Normal headers.
h.- Test results
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":