Community articleRemoving a pin from a file programmatically
Added by IBM contributorIBM on June 23, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Removes the file from the myfavorites feed.



Removes the file from the myfavorites feed.

This request requires authentication.

See Authenticating requests for information about how to authenticate the request.

 

You can provide the following request header.

 

You can provide the following input parameter.

 

Input


You must provide either an Atom document representing the file as input to the request or you must identify the file by providing the itemId parameter on the request.

Output


None.

Input
Method URI Description
DELETE /files/basic/api/myfavorites/documents/feed Removes pin from file
Content Type: application/atom+xml
Sample Request:
<entry></entry>
Name Type Optional Description
itemId
string Yes String. Uuid that uniquely identifies the document. The uuid is defined in the <td:uuid> element in the Atom entry document of the file.
Name Type Optional Description
X-Method-Override
string Yes Tunnels a DELETE request over an HTTP POST.
Output
Code Description
204
Indicates that the file was successfully removed from the myfavorites feed.
401
Unauthorized.
403
Forbidden.
404
Not Found.