Skip to main content
POST
/
v1
/
knowledge-base
/
documents
/
{doc_id}
/
promote
Promote a version to active
curl --request POST \
  --url https://api-sandbox.featherhq.com/v1/knowledge-base/documents/{doc_id}/promote \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{}

Authorizations

x-api-key
string
header
required

Path Parameters

doc_id
string<uuid>
required

Body

application/json
version_id
string<uuid>
required

Response

Successful Response

The response is of type Response Promotedocumentversion · object.