---
title: "Update the status of a document"
method: PUT
path: "/v1/documents/{id}"
---

# Update the status of a document

`PUT /v1/documents/{id}`

## Path parameters

- `id` integer, required

## Request body

- object
  - `upload_status` string, required — Update the upload status of the document to the Amazon S3. Allowed values are 'Completed' or 'Failed'.

## Response `200`

200

- object
  - `document` object
    - `id` integer
    - `category` string
    - `upload_url` string
    - `ref_no` string
    - `notes` string
    - `doc_date` string
    - `doc_fields` unknown

## Other responses

- `400` — 400
- `403` — 403
- `404` — 404

---

[API](https://skmtc.net/gomotive/apis/motive.md) · [All operations](https://skmtc.net/gomotive/apis/motive/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gomotive/motive/versions/c71780e497f5/schema)
