Force Delete User using API
回答済みI am trying to force delete the user but i am geting error.
I am using this command : curl https://api.box.com/2.0/users/removed for privacy -H "Authorization: Bearer TOKEN" -d '{ "force":true}' -X DELETE
The output i am seeing is :
{"type":"error","status":400,"code":"bad_request","help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"User has managed content","request_id":"removed for privacy75721c81be1192"}
can any one helip to solve this. it is helpful
Thanks,
Aditya.
-
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
サインインしてコメントを残してください。
コメント
1件のコメント