Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Markus K.6's avatar
Markus K.6
Explorer | Level 3
10 years ago

API v2 permanently delete files

Hi,

I've been trying to use the new files/permanently_delete endpoint of the v2 API but I constantly get an error 400.

It seems to be the case that standard Apps are not allowed to use this endpoint. Is there any reason for this? Because for old Packrat users it can be very useful to have a purge call.

Best regards,

Markus

3 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    If you print out the body of the response it should contain a more useful error message, but yes, this endpoint is only available to Dropbox Business API apps, per the documentation:

    "NOTE: This endpoint is only available to Dropbox for Business apps using the X-Dropbox-Perform-As-Team-Member header."

    I can't speak to the particular reasoning, but I'll send this along as a feature request to make this available to Dropbox API apps.

  • Markus K.6's avatar
    Markus K.6
    Explorer | Level 3
    10 years ago

    Hi Gregory,

    thanks for the clarification. You are absolutely right that it is stated in the v1 docu. But there is no hint in the v2 documentation (or at least I haven't seen it). Actually, I had hoped that the behavior changed with API v2. Hopefully we'll see this as a feature in the future.

    Best regards,

    Markus

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    Oh, apologies, I didn't check the v2 documentation. I'll send this along to get a note added to that too. Thanks!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!