/documents/v1/archive/{item_id}

Use this endpoint to archive a file or folder in Documents. Archived items appear in the Archive tab and can't be edited. Only users who had "Edit" document access before archiving can view them.

Requirements

Path Params
string
required

The ID of the item (file or folder) you want to archive.
To get the item_id, open the item in the SafetyCulture web app and copy the last part of the URL.
For example, in this link https://app.safetyculture.com/documents/document/765aa2e6-69cb-43b5-8ab4-48ab26e2a094,
the item ID is 765aa2e6-69cb-43b5-8ab4-48ab26e2a094.

Body Params

Request to archive an item (file or folder).

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json