v1Resources/Social Inbox/postReject or ban on a YouTube comment
Reject or ban on a YouTube comment
Rejects a viewer's comment on one of the business's YouTube videos (it is hidden on YouTube and resolved in the inbox), or rejects it and bans the commenter from the channel. kind must be comment.
post
inbox:write/api/v1/inbox/{kind}/{id}/youtubeQuery 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
actionstring (reject | ban)required
reject hides the comment; ban also bans the commenter.
Response
dataobjectoptional
okbooleanoptional
True when the action was applied.
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.
post/api/v1/inbox/{kind}/{id}/youtube
Your API key
kind *
id *
Request body*
{}