Skip to main content
PATCH
Archive or restore matching documents

Authorizations

X-API-Key
string
header
required

Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.

Query Parameters

Full-text search across the resource's search columns. Append :col1,col2 to limit which columns are searched.

filter
string

AND/OR filter expression, for example type eq 'phase' and isArchived eq false. Simple equality can also be passed as plain field parameters.

Body

application/json

The only generic document update is an archive-state change.

isArchived
boolean
required

Set true to archive the document or false to restore it.

Response

The updated documents.

values
object[]
required