Update an existing comment on a phone call leg

Replace the text of one comment on a call-detail record.

Both path params are validated as UUIDs and the body against the request
schema, so a malformed id or an unknown/blank field fails with 422 at
request validation. Only
the comment's author may edit it — a non-author caller is translated to
403 and an unknown call-detail/comment to 404. Returns the full
updated comment.

Path Params
uuid
required
uuid
required
Body Params

Request body for PUT /phone_call_legs/{id}/comments/{comment_id}.

Only the writable part is accepted: a required, non-blank value and an
optional create_mentions flag. The calling flag is ignored on
update, so it is intentionally not exposed. Unknown fields are rejected
(422) at request validation.

string
required
length between 1 and 20480

New comment body. Replaces the existing text.

boolean
Defaults to false

When true, (re)generate @-mention notifications from the new body. Omit to leave mentions untouched (the default). Forwarded only when explicitly provided.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json