put
https://api.duodeal.app/api/comments/
Updates an existing comment.
-
Anonymous comments: Security is based on knowing the comment UUID
- Authenticated comments: Only the author can update (verified via
X-API-KEYheader)
Path ParametersParameter Type Required Description uuidstring (UUID) Yes Comment unique identifier Body FieldsField Type Required Description contentstring No New comment content Response FieldsField Type Description uuidstring Comment unique identifier contentstring Updated comment text authorNamestring Author name authorEmailstring Author email authorobject/null User object if authenticated createdAtdatetime Creation timestamp Response200 OK: Comment successfully updated403 Forbidden: Authenticated user is not the author404 Not Found: Comment not found
- Authenticated comments: Only the author can update (verified via
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Resource updated
400Bad request
401Unauthorized
404Resource not found
