pub async fn delete(
state: State<&'static AppState>,
__arg1: Path<String>,
key: String,
) -> Result<impl IntoResponse, DeleteError>
Expand description
Delete an upload
§Request
DELETE /api/v1/delete/:id
§Body
Should contain the key used to delete the upload (delete_key
in
UploadResponse
).
§Response
§Success
- 204 No Content