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)obligatorio
The kind of item: a comment, a direct message conversation or a mention.
idstringobligatorio
The item's id, from the inbox list.
Cuerpo de la solicitud
actionstring (reject | ban)obligatorio
reject hides the comment; ban also bans the commenter.
Respuesta
dataobjectopcional
okbooleanopcional
True when the action was applied.
Errores
400A la solicitud le falta un parámetro obligatorio o es inválida de otra forma.
401La clave de API falta, es inválida, expiró o fue revocada.
403A la clave le falta el permiso requerido, o no está autorizada para este cliente/ubicación.
404El recurso no se encontró, o no pertenece a su agencia.
429Demasiadas solicitudes. Reintente tras el número de segundos indicado en el encabezado Retry-After.
post/api/v1/inbox/{kind}/{id}/youtube
Su clave de API
kind *
id *
Cuerpo de la solicitud*
{}

¿Nuevo en la API de Synup?