Difference between revisions of "API Collection Delete Asset"
From unroole CMS wiki
Tommy.leung (Talk | contribs) (→URI) |
Tommy.leung (Talk | contribs) |
||
Line 4: | Line 4: | ||
== URI == | == URI == | ||
− | {{:API_Base_URI}} | + | {{:API_Base_URI}}collections/[collection-id]/delete_item |
== HTTP Method == | == HTTP Method == | ||
Line 25: | Line 25: | ||
| | | | ||
| | | | ||
− | | This is the id of the collection item, not the id of the item itself. | + | | This is the id of the collection item, not the id of the item itself. Refer to [[:API_Collection_Fields]] for the id of each item in the collection. |
|} | |} | ||
Revision as of 16:15, 4 June 2012
Summary
Allows for deleting an asset from the collection.
URI
https://api.unroole.com/collections/[collection-id]/delete_item
HTTP Method
DELETE
Required Paramaters
Paramater | Default | Maximum Length | Accepted Values | Description |
---|---|---|---|---|
token | API Persistence Token that identifies this user and its permissions. | |||
collection_item_id | This is the id of the collection item, not the id of the item itself. Refer to API_Collection_Fields for the id of each item in the collection. |
Response
Field | Type | Description |
---|---|---|
http_status | integer | API Status Code http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html |
error | Rails default |