Newer Version Available

This content describes an older version of this product. View Latest

Feed Elements Capability, Close

Get the closed status of a feed element. Set a feed element to closed.

Users can’t edit (specifically the feed item body or title), comment on, or delete a closed feed element. If the closed feed element is a poll, users can’t vote on it. Users can’t edit (specifically the comment body) or delete a comment on a closed feed element or select or remove it as best answer.

Admins and moderators can edit and delete closed feed elements and comments on closed feed elements. Admins and moderators can select or remove the best answer status on comments on closed feed elements.

Resource
Available version
43.0
Requires Chatter
Yes
HTTP methods
GET, PATCH
Request body for PATCH
Root XML tag
<closeCapability>
JSON example
Properties
Name Type Description Required or Optional Available Version
isClosed Boolean Specifies whether to set the feed element to closed (true) or not (false). Required 43.0
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
isClosed Boolean Specifies whether to set the feed element to closed (true) or not (false). Required 43.0
Response body for GET and PATCH
Close Capability

If the feed element doesn’t support this capability, the response is 404: Not Found.