Skip to main content
PUT
/
v1
/
documents
/
{document_id}
Update Document Configuration
curl --request PUT \
  --url https://api.flashdocs.ai/v1/documents/{document_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organization_id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "google_document_id": "<string>",
  "knowledge_base_item_ids": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.flashdocs.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

document_id
string
required

Body

application/json
organization_id
string | null
type
enum<string> | null
Available options:
template,
library
name
string | null
description
string | null
status
enum<string> | null
Available options:
deployed,
in_progress
google_document_id
string | null
knowledge_base_item_ids
string[] | null

Response

Successful Response