Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.23 KB

endpoint_delete_file.md

File metadata and controls

46 lines (36 loc) · 1.23 KB

DELETE File

/files/<GUID>

Deletes the latest edition of a file with a given GUID. When a File has more than one edition, only the latest, unlocked edition can be deleted--to delete an entire file, repeat the DELETE request for all editions.

Request Header

Name Value Description
arena_session_id unique ID for session obtained from login
content-type application/json

Response Codes

Code Description
204 Success
400 Failure

Response Header

Name Value Description
Content-Length number number of characters in response
Content-Type application/json content type of response
Date date today's date and time
Server ArenaSolutions
X-Arena-Next-Request-Limit-Reset date the scheduled time for resetting of the count
X-Arena-Requests-Remaining number how many calls left

Sample Response Body

No JSON response.

Request with bad GUID

{  
   "status":403,
   "errors":[  
      {  
         "code":3024,
         "message":"Either you do not have privileges to access the requested data or it does not exist."
      }
   ]
}