PUT
Archive or unarchive files

Authorizations

Authorization
string
header
required

Obtain a token via POST /api/v1/oauth/token (password grant) and send it as Authorization: Bearer <token>.

Path Parameters

database
string
required

Project identifier (each project has its own database). Obtain it from GET /api/v2/data/projects.

Query Parameters

archive
boolean
required

true to archive, false to unarchive.

Body

application/json
id
string[]
required

Document ids to operate on.

Response

Archive state updated.