Delete a file
DELETE/api/v1/files/:file_id
Removes a file from the system by ID
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 429
- 500
File deleted successfully
Invalid request — a query parameter or body field the operation does not declare, or a value that fails validation
Authentication required
Insufficient permissions
File not found
FILE_HAS_DEPENDENTS — another record still references the file.
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Internal server error