<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/GroupSessionJournal/remove(attachment:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Group Activities"
    ],
    "preciseIdentifier" : "s:15GroupActivities0A14SessionJournalC6remove10attachmentyAC10AttachmentV_tYaKF"
  },
  "title" : "remove(attachment:)"
}
-->

# remove(attachment:)

Removes the specified attachment from the journal on all sessions.

```
final func remove(attachment: GroupSessionJournal.Attachment) async throws
```

## Parameters

`attachment`

The attachment object associated with the item.
You receive this object when you call the [`add(_:)`](/documentation/GroupActivities/GroupSessionJournal/add(_:)) or [`add(_:metadata:)`](/documentation/GroupActivities/GroupSessionJournal/add(_:metadata:))
method.

## Discussion

Call this method to remove an attachment that is no longer relevant. For example,
you might remove an attachment containing a photo in response to someone
deleting that photo from the activity. When you remove an attachment, the
journal object updates the array of attachments and sends it to all
participants. Remove any attachments from your app that aren’t still in the
array.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)