Admin API / Mutations
kickLivestreamUser
Removes a user from a livestream and prevents them from rejoining. Connected clients receive the removal event. The host and staff of the host's store can remove anyone except the host. A joined cohost can remove anyone except the host and staff of the host's store. An assigned moderator can remove anyone except the host, staff of the host's store, a joined cohost and a member with the MODERATOR role or higher. Staff with the MODERATOR role or higher can remove users they outrank, the host included. Callers cannot remove themselves. The ID of an account of another marketplace gives UserNotFoundError, as an unknown ID does, and changes nothing. Repeating the mutation refreshes the moderation attribution and timestamp.
Requires a client key with one of these scopes:
admin:moderation:writeRequires this member role or higher: SELLERkickLivestreamUser(
input: KickLivestreamUserInput!
): KickLivestreamUserPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | KickLivestreamUserInput! | The livestream and user to remove. |