When deleting file by API the response tells me i'm not autorised

Call:

https://app.smartfile.com/api/2/path/oper/remove?location=/%2farti/187/Knipsel.PNG%2f

Headers:

authorization: basic [token]

content-type: application/x-www-form-urlencode; boundary=boundary

cache-control: no-cache

Response: 

{"detail": "You do not have permission to access this resource. You may need to login or otherwise authenticate the request."}

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • day 6 and still not a single reaction?

    Reply Like
  • Hello Tomek, 

    Sorry for the delay in response. 

    I have a few questions that will help me debug the issues you are running into. Are you using one of our SDK's for API interaction? If so which one. If not then what library and language are you using to access our API with? 

    Reply Like
  • I'm using Windev as programming language without any library.

    Reply Like
  • Unfortunately, we only support access to the API via the SmartFile SDK provided on our Github:
    https://github.com/smartfile/

    I recommend switching to one of those client libraries or contacting the Windev support.

    Reply Like
Like Follow
  • 9 mths agoLast active
  • 4Replies
  • 106Views
  • 2 Following