curl --request PATCH \
--url https://api.example.com/cases/{case_id}/comments/{comment_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"content": "<string>",
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Update an existing comment.
curl --request PATCH \
--url https://api.example.com/cases/{case_id}/comments/{comment_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"content": "<string>",
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Successful Response
Was this page helpful?