Skip to content
PATCH/posts/{postId}

Update a post

Update an existing post

Parameters

NameInTypeDescription
postIdrequiredpathstringPost ID

Request body

FieldTypeDescription
titlestring
contentstring
statusIdstring | nullStatus ID (set to null to clear)
tagIdsstring[]
ownerIdstring | nullAssigned team member ID (set to null to unassign)

Response

Post updated

FieldTypeDescription
idrequiredstringTypeID - a type-prefixed UUID
titlerequiredstring
contentrequiredstring
contentJsonrequiredobject | null
voteCountrequirednumber
boardIdrequiredstringTypeID - a type-prefixed UUID
statusIdrequiredstring | null
authorNamerequiredstring | null
ownerIdrequiredstring | null
createdAtrequiredstringISO 8601 timestamp
updatedAtrequiredstringISO 8601 timestamp

Errors

400Validation error
401Unauthorized
404Post not found

Example request

curl \
  -X PATCH \
  "https://feedback.quackback.io/api/v1/posts/:postId" \
  -H "Authorization: Bearer qb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "example_title",
  "content": "example_content",
  "tagIds": []
}'