---
schema_version: "1"
id: eae5f45c05c7666bea97565329624502b00212c9bbba6ca250569351f8a4728d
title: ConnectApi.CloseCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_close_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_close_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1744f2d01e7fac6268dde6cc886d412ce36587894ff8f3deee113dc36d8f108a
description: If a feed element has this capability, users with permission can close it.
---
# ConnectApi.CloseCapability

If a feed element has this capability, users with permission can close it.

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.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| canContextUser​UpdateIsClosed | Boolean | Specifies whether the context user has permission to set the feed element to closed (true) or not (false). | 43.0 |
| isClosed | Boolean | Specifies whether the feed element is closed (true) or not (false). | 43.0 |

#### See Also

- [ConnectApi.FeedElementCapabilities](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capabilities.htm "A container for all capabilities that can be included with a feed element.")