Skip to main content
PATCH
Sending knowledgeBase replaces it whole. Leaving out a text or an entry deletes it, and it cannot be recovered. Read the knowledge base first and send every text and entry you want to keep.

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer heliyos_.... Create one in Heliyos under Settings → API keys. A key acts as a workspace admin in the one workspace it was created in.

Body

application/json
businessContext
string

What the business does, in your team's words. Plain text or Markdown. An empty string clears it.

knowledgeBase
object

The whole knowledge base. Replaces the stored one. Each text is plain text, Markdown or HTML, and an empty string clears it.

name
string

The workspace's name, 1 to 200 characters after trimming.

Required string length: 1 - 200
website
string<uri>

The company website, an http or https URL. An empty string clears it.

industry
string

The industry, as free text. An empty string clears it.

timezone
string

The workspace's time zone, as an IANA name such as America/New_York. Not checked against a list. An empty string clears it.

address
string

Street address. An empty string clears it.

city
string

City. An empty string clears it.

state
string

State or region. An empty string clears it.

zipcode
string

Postal code. An empty string clears it.

country
string

Country. An empty string clears it.

The logo: the id of a file uploaded with Upload a file, or the https URL Heliyos returned for it. Other URLs are refused. An empty string clears it.

Response

The changes were saved. data is an empty object. Call Get the knowledge base to read the result.

meta
object
required
data
object
required

Empty object.