Archive or unarchive a document
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
``200
object
id
integer
required
reference_id
string | null
The reference ID of the file
is_archived
boolean
archived_at
date-time | null
archived_by
object
required
id
integer
username
string
document_summary
string | null
Summary of the document
document_short_description
string | null
Short description of the document
clean_document_name
string | null
Clean name of the document
xxxxxxxxxx
curl --request PATCH \
\
--url https://api.flextract.dev/api/docs/reference_id/archive/ \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
{
"id": 0,
"reference_id": "string",
"is_archived": true,
"archived_at": "2026-07-18T07:09:12.414Z",
"archived_by": {
"id": 0,
"username": "string"
},
"document_summary": "string",
"document_short_description": "string",
"clean_document_name": "string"
}