Update Q&A item
Update a knowledge base Q&A item's content or metadata
Authorization
bearerAuth AuthorizationBearer <token>
JWT token obtained from login endpoint
In: header
Path Parameters
id*string
Q&A item ID
Format
uuidRequest Body
application/json
question?string
Updated question text
answer?string
Updated answer text
category?string
Updated category
featured?boolean
Whether to feature this item
order?integer
Display order (lower numbers appear first)
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://app.orbiqhq.com/api/v1/knowledge-base/550e8400-e29b-41d4-a716-446655440000" \ -H "Content-Type: application/json" \ -d '{ "answer": "We maintain SOC 2 Type II, ISO 27001, ISO 27018, and GDPR compliance certifications. All certifications are renewed annually.", "featured": true }'{
"success": true,
"data": {
"item": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"question": "What security certifications do you have?",
"answer": "We maintain SOC 2 Type II, ISO 27001, ISO 27018, and GDPR compliance certifications. All certifications are renewed annually.",
"category": "Security",
"featured": true,
"order": 1,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-25T14:00:00Z"
}
}
}{
"error": "Invalid request parameters"
}{
"error": "Unauthorized"
}{
"error": "Q&A item not found"
}{
"error": "Internal server error"
}How is this guide?