files

Delete a file

Permanently delete a file from the session. Both uploaded files and sandbox-generated output files can be deleted through this endpoint.

delete/v1/files/{file_id}

Path parameters

file_idstring required

Query parameters

scope_idstring required

Session / container identifier.

namespacestring

Namespace the file belongs to. Defaults to 'session'.

Response

Successful Response

idstring required

Relative path of the file that was deleted.

type'file_deleted'

Object type discriminator, always 'file_deleted'.

Changes