Hi,
I was looking for a way to delete a user using this method :
curl -i -X DELETE "https://api.box.com/2.0/users/$userID?force=true" -H "authorization: Bearer $mytoken"
HTTP/1.1 404 Not Found
date: Fri, 13 Jun 2025 10:20:28 GMT
content-type: application/json
x-envoy-upstream-service-time: 110
box-request-id: 084aa24f457de6630b1c1719f0ffcea0e
cache-control: no-cache, no-store
strict-transport-security: max-age=31536000
Transfer-Encoding: chunked
{"type":"error","status":404,"code":"not_found","help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Not Found","request_id":"9qmpq2i2dviyjv95"}
I have replaced personal data $userID and $mytoken
A GET request is working properly.
Many thanks