Skip to navigation

Delete a file

View as Markdown

Deletes a file and everything parsed out of it.

{id} accepts the file id or the file name, exactly as GET does.

Runs that already referenced the file keep their results — deleting the source does not retroactively empty a finished run.

Learn more: Working with files

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired>=1 character
spaceIdstringRequired

Response

Deleted.

Errors

404
Not Found Error
409
Conflict Error
429
Too Many Requests Error