Feedback
Update Post
Updates a post's title, body, or author. The author must be a project member; null clears it. Omitted fields stay as they are. Status and topics have their own endpoints.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project that owns the post.
idrequiredstring
ID of the post to update.
Request Body
application/json
authorUserIdstring | null
User ID of the project member credited as the author. Null or omit for no author.
bodystring | null
Post body. Null clears it. Omit to leave unchanged.
titlestring
Post title. Omit to leave unchanged.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://www.saasco.com/api/v2/projects/string/feedback/posts/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"createdAt": "string",
"updatedAt": "string",
"projectId": "string",
"statusId": "string",
"title": "string",
"body": "string",
"slug": "string",
"voteCount": -9007199254740991,
"roadmapRank": -9007199254740991,
"authorName": "string",
"authorUserId": "string",
"pendingApproval": true,
"mergedIntoId": "string",
"mergedAt": "string",
"archivedAt": "string",
"authorImage": "string",
"commentCount": 9007199254740991,
"excerpt": "string",
"status": {
"archivedAt": "string",
"color": "string",
"id": "string",
"name": "string",
"position": -9007199254740991,
"showOnRoadmap": true
},
"topics": [
{
"archivedAt": "string",
"color": "string",
"icon": "string",
"id": "string",
"name": "string",
"position": -9007199254740991
}
]
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}