Difference between revisions of "API Assets Delete"

From unroole CMS wiki
Jump to: navigation, search
(URI)
 
(6 intermediate revisions by one user not shown)
Line 3: Line 3:
  
 
== URI ==
 
== URI ==
<nowiki>https://api.unroole.com/[account-id]/assets/[asset-id]</nowiki>
+
{{:API_Base_URI}}accounts/[account-id]/assets/[asset-id]
  
 
== HTTP Method ==
 
== HTTP Method ==
Line 17: Line 17:
 
! Accepted Values
 
! Accepted Values
 
! Description
 
! Description
|-
+
{{:API Required Parameter Common}}
| token
+
|
+
|
+
|
+
| [[API Persistence Token]] that identifies this user and its permissions.
+
 
|}
 
|}
  
Line 32: Line 27:
 
! Type
 
! Type
 
! Description
 
! Description
|-
+
{{:API Response Common}}
| status
+
| string
+
| [[API Status Code]]
+
|-
+
| error
+
|
+
|
+
 
|}
 
|}

Latest revision as of 15:47, 10 December 2013

Summary

Allows for deleting a particular asset.

URI

https://api.unroole.com/accounts/[account-id]/assets/[asset-id]

HTTP Method

DELETE

Required Paramaters

Paramater Default Maximum Length Accepted Values Description
token API Persistence Token that identifies this user and its permissions.

Response

Field Type Description
http_status integer API Status Code
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
error Rails default