" name="description" />" />

Deleting a file from bucket. Autodesk-forge


There are problem with deleting a file from bucket ("errorCode": "AUTH-012"). But I can download current file by using -x GET instead of -x DELETE.

I use this tutorial -> <a href="" rel="nofollow"></a> . Attach an example below.


curl -v -X DELETE -H "Authorization:Bearer G3fqI9NFKqJVN5MQy3yI0tGXXXXX"


{ "developerMessage": "ACM check failed, user or calling service does not have access to perform this operation", "userMessage": "", "errorCode": "AUTH-012", "more info": "" }

Could you please check me and explain me what could be wrong?


For file deleting we can use deleting of file version.

curl -v{project_Id}/versions -x POST -H "Authorization:Bearer G3fqI9NFKqJVN5MQy3yI0tGXXXXX" -H "Content-Type:application/vnd.api+json" -d '{ "jsonapi": { "version": "1.0" }, "data": { "type": "versions", "attributes": { "extension": { "type": "versions:autodesk.core:Deleted", "version": "1.0", } }, "relationships": { "item": { "data": { "type": "items", "id": "urn:adsk.___your_file_id__________" } } } } }'


{project_Id} - is your project id;

"urn:adsk.___your_file_id__________" - is your file id.


  • Optimize S3 download for large number of tiny files
  • Content-Security-Policy issue
  • QtWebPage - loadFinished() called multiple times
  • Hibernate Entity mapping when Foreign key is part of the composite primary key?
  • WPF Combobox rendering on XP
  • Setting a default value at the beginning or set it explicitly if no “if” case matches
  • Ruby with Swig: NameError: uninitialized constant
  • Analytics for cross platform JavaScript based mobile app [duplicate]
  • How to add an integer unique id to query results - __efficiently__?
  • Apache passenger stopped work after upgrade passenger from 5.1.12 to 5.20
  • Change storage class of (existing) objects in Google Cloud Storage
  • Amazon s3 – 403 Forbidden with Correct Bucket Policy
  • How to mount dynamically single file component in Vue.js
  • LatLong falls within a given polygon in D3 + Leaflet
  • Remove every nth element from swift array
  • Trouble Attaching Call Back to Unobtrusive Validation Show Error
  • Crafting a LINQ based solution to determine if a set of predicates are satisfied for a pair of colle
  • JavaScriptCore External Arrays
  • Single django queryset to get n adjacent items
  • Double dispatch in Java example
  • conditions for accessors in Coldfusion ORM
  • Django return user model id with L
  • In Java, how can I construct a File from a resource?
  • using System.Speech.Synthesis with Windows10 universal app (XAML-C#)
  • Do query loads all the data in memory
  • GAE: Way to get reference to an HttpSession from its ID?
  • Spring boot 2.0.0.M4 required a bean named 'entityManagerFactory' that could not be found
  • What is the purpose of TaskExecutor in spring?
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • Debug.DrawLine not showing in the GameView
  • How to attach a node.js readable stream to a Sendgrid email?
  • CSS Linear-gradient formatting issue accross different browsers
  • Hazelcast - OperationTimeoutException
  • RestKit - RKRequestDelegate does not exist
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • Revoking OAuth Access Token Results in 404 Not Found
  • Turn off referential integrity in Derby? is it possible?
  • JaxB to read class hierarchy
  • Python/Django TangoWithDjango Models and Databases