Skip to main content
PATCH
Archive or restore a document

Authorizations

X-API-Key
string
header
required

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

Path Parameters

id
string<uuid>
required

Record id.

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 document.

value
object
required

A file attached to an order or one of its deliverables.