{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/resources/{resourceId}.json","auth":"required","params":[{"name":"resourceId","type":"int","default":"","desc":"The unique identifier of the resource you would like to delete.","required":true,"in":"path","ref":"","_id":"557f4715e211d20d00601483"}],"results":{"codes":[{"status":200,"language":"json","code":"{\n    status: \"Okay\"\n}","name":""}]},"settings":"","examples":{"codes":[{"name":"","language":"javascript","code":"$.ajax({\n\t\ttype: \"DELETE\", \n   \turl: \"/api/v1/resources/\" + resourceId + \".json\", \n   \tcontentType: 'application/json', \n   \tdataType: \"json\", \n   \tsuccess: worked,            \n\t\theaders: { apiKey: apiKey }\n});"}]},"method":"delete"},"next":{"description":"","pages":[]},"title":"Delete a Resource","type":"endpoint","slug":"delete-a-resource","excerpt":"A Resource instance represents a resource created for a particular business account. This may be a resource associated with a particular user, or an inanimate resource.\n\nUse this  API to delete an existing Resource.","body":"A call to this API will delete a resource. Please note that any resources deleted via this API will not be able to be recovered.","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5565194db893840d0044472c","createdAt":"2015-05-27T01:09:33.085Z","user":"555a5da8bcb32e19006f816f","__v":2,"version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5548466cd2c8410d006c2147","554a69ba0b54d30d007fe128","554a7f3338e3620d0082192e","5565162e03b6710d00916942","55651a0c65a1130d00400c2b","55651d4565a1130d00400c2f","55651e0165a1130d00400c32","5565217903b6710d0091695f"],"_id":"5548466bd2c8410d006c2146","createdAt":"2015-05-05T04:26:19.796Z","project":"5548466bd2c8410d006c2143","__v":8,"releaseDate":"2015-05-05T04:26:19.796Z"},"editedParams":true,"parentDoc":null,"category":{"sync":{"isSync":false,"url":""},"pages":["55651711b893840d00444723","556517a965a1130d00400c22","55651800b893840d00444728","5565190e65a1130d00400c24","5565194db893840d0044472c","55651a00b893840d00444732"],"title":"Resources","slug":"resources","order":3,"from_sync":false,"reference":false,"_id":"5565162e03b6710d00916942","__v":6,"project":"5548466bd2c8410d006c2143","version":"5548466bd2c8410d006c2146","createdAt":"2015-05-27T00:56:14.105Z"},"editedParams2":true,"githubsync":"","project":"5548466bd2c8410d006c2143"}

deleteDelete a Resource

A Resource instance represents a resource created for a particular business account. This may be a resource associated with a particular user, or an inanimate resource. Use this API to delete an existing Resource.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

resourceId:
required
integer
The unique identifier of the resource you would like to delete.

Examples


Result Format


Documentation

A call to this API will delete a resource. Please note that any resources deleted via this API will not be able to be recovered.