Skip to main content
POST
/
v2
/
organizations
/
{organizationId}
/
directories
/
{directoryId}
/
archive
Archive a directory
curl --request POST \
  --url https://api.orbitsearch.com/v2/organizations/{organizationId}/directories/{directoryId}/archive \
  --header 'Authorization: Bearer <token>'
Archives a directory, immediately preventing new uploads and excluding it from search. Archiving is appropriate when you want to retain the directory record without allowing further writes or queries.
Archived directories cannot receive new source uploads and cannot be searched. Requests that reference an archived directory in a search scope are rejected with search_directory_not_found.The auto-created Personal Connections directory (type: connections) cannot be archived or deleted.

Path parameters

organizationId
string
required
The UUID of the owning organization.
directoryId
string
required
The UUID of the directory to archive.