User Tools

Site Tools


del_collection_resource

DELETE /collections/:collectionkey/resources/:resourcekey.format

DELETE /collections/:collectionkey/resources/:resourcekey.format removes a resource you own from a collection. It does not delete the resource from 4theFile

  • response formats supported: .xml, .json
  • query parameters: none
  • Curl command line:
    curl -u user:apikey -X DELETE https://4thefile.com/api_v1/collections/ESuVkqZF/resources/Wgo3oLtl.xml
  • example xml response:
<?xml version="1.0" encoding="UTF-8"?>
<data>
  <message>Removed resource Wgo3oLtl from collection ESuVkqZF</message>
  <resource_link>https://4thefile.com/api_v1/resources/Wgo3oLtl.xml</resource_link>
</data>
del_collection_resource.txt · Last modified: 2010/11/05 16:24 by jay