Skip to main content
POST
/
manage
/
admin
/
doc-boosts
Document Boost Update
curl --request POST \
  --url https://cloud.onyx.app/api/manage/admin/doc-boosts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "document_id": "<string>",
  "boost": 123
}'
{
  "success": true,
  "message": "<string>",
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
document_id
string
required
boost
integer
required

Response

Successful Response

success
boolean
message
string | null
data
any
I