v1Resources/Social Inbox/patchEdit your own YouTube comment

Edit your own YouTube comment

Edits the text of the business's own YouTube comment or reply, never someone else's. kind must be comment.

patch/api/v1/inbox/{kind}/{id}/youtube
inbox:write
Query parameters
kindstring (comment | message | mention)required
The kind of item: a comment, a direct message conversation or a mention.
idstringrequired
The item's id, from the inbox list.
Request body
textstringrequired
The new text, up to 10,000 characters.
targetstring (comment | response)optional
comment is the comment itself, response is the reply the business sent to it.
Response
dataobjectoptional
okbooleanoptional
True when the text was changed.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
patch/api/v1/inbox/{kind}/{id}/youtube
Your API key
kind *
id *
Request body*
{}

New to the Synup API?