PUT
/
v1
/
documents
/
{document_id}
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>",
  "type": "template",
  "name": "<string>",
  "description": "<string>",
  "status": "deployed",
  "google_document_id": "<string>",
  "knowledge_base_item_ids": [
    "<string>"
  ]
}'
"<any>"

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

200
application/json
Successful Response

The response is of type any.