Welcome to the new Box Support website. Check out all the details here on what’s changed.

Force Delete User using API

Answered
New post

Comments

1 comment

  • Brent

    Hi  -

     

    Thanks for the question! I'm reposting here what we reviewed in the case you submitted to our Platform Support team. Per our documentation, the parameters to force deletion must be sent as Form Data. Thus, the appropriate formatting for your cURL request would be:


    curl https://api.box.com/2.0/users/USERID?force=true -H "Authorization: Bearer TOKEN" -X DELETE

     

    0
    Comment actions Permalink

Please sign in to leave a comment.