v1Recursos/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/api/v1/inbox/{kind}/{id}/youtube
inbox:write
Parâmetros de consulta
kindstring (comment | message | mention)obrigatório
The kind of item: a comment, a direct message conversation or a mention.
idstringobrigatório
The item's id, from the inbox list.
Corpo da solicitação
actionstring (reject | ban)obrigatório
reject hides the comment; ban also bans the commenter.
Resposta
dataobjectopcional
okbooleanopcional
True when the action was applied.
Erros
400Falta um parâmetro obrigatório na solicitação, ou ela é inválida de outra forma.
401Chave de API ausente, inválida, expirada ou revogada.
403A chave não tem a permissão exigida, ou não está autorizada para este cliente/local.
404O recurso não foi encontrado, ou não pertence à sua agência.
429Muitas solicitações. Tente novamente após o número de segundos indicado no cabeçalho Retry-After.
post/api/v1/inbox/{kind}/{id}/youtube
Sua chave de API
kind *
id *
Corpo da solicitação*
{}

Novo na API da Synup?