Delete an uploaded file

Permanently delete an uploaded file from the session. Only files that were uploaded via POST /v1/files can be deleted; sandbox-generated output files cannot be deleted through this endpoint.

Path parameters

file_idstringRequired

Query parameters

scope_idstringRequired

Session / container identifier.

Response

Successful Response
idstring
Relative path of the file that was deleted.
type"file_deleted"Defaults to file_deleted

Object type discriminator, always ‘file_deleted’.

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
503
Service Unavailable Error