v1

latestOpenAPI 3.0.3agpl2026-07-17836669.5 KB
page

Restore an attachment

patch/ocs/v2.php/apps/collectives/api/v{apiVersion}/collectives/{collectiveId}/pages/{id}/attachments/trash/{attachmentId}

Path parameters

apiVersion'1.0' required
collectiveIdinteger required

ID of the collective

idinteger required

ID of the page

attachmentIdinteger required

ID of the attachment

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Response

Attachment restored