updateKnowledgeDatabaseArticleFromText
Update an existing text-based article in the Knowledge Database. Only the provided fields will be updated. Note that some article fields are immutable.
Arguments
Input fields for updating a text-based Knowledge Database article.
Returns
UpdateKnowledgeDatabaseArticleFromTextOutput type of the updateKnowledgeDatabaseArticleFromText mutation.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-15201: Article not found.
- KT-CT-15205: The given article details are invalid.
- KT-CT-15208: Unable to update the article.
- KT-CT-15209: At least one of audience, text, tags or brandCodes must be provided.
- KT-CT-15210: One or more of the given domain codes are invalid.
- KT-CT-7899: An internal error occurred.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateKnowledgeDatabaseArticleFromText($input: UpdateKnowledgeDatabaseArticleFromTextInput!) {
updateKnowledgeDatabaseArticleFromText(input: $input) {
articleId
}
}
Variables
{
"input": UpdateKnowledgeDatabaseArticleFromTextInput
}
Response
{
"data": {
"updateKnowledgeDatabaseArticleFromText": {
"articleId": 45501499
}
}
}