Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

How to remove / delete a uploaded file from mattermost-server ?  #777

Open
@vishnusadanandan

Description

@vishnusadanandan

Submit feature requests to http://www.mattermost.org/feature-requests/. File non-security related bugs here in the following format:

Summary

How to remove / delete a uploaded file from mattermost-server ?

Environment Information

  • Webapp or React Native app: Webapp
  • Mattermost Server Version:4.5.

Steps to reproduce

Upload file
mattermostClient.uploadFile(imageFormData)
Get file
mattermostClient.getFile(fileId)

There is function available for delete the file

Expected behavior

Upload file
mattermostClient.uploadFile(imageFormData)
Get file
mattermostClient.getFile(fileId)
Remove file
mattermostClient.removeFile(fileId)

Observed behavior

There is no function to do this task.

Possible fixes

If you can, link to the line of code that might be responsible for the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions