Admin API / Mutations

endLivestream

Ends a livestream and can redirect viewers to a successor stream. A stream that never started is cancelled. raidTo replaces any existing successor, and omitting it clears the successor. Without expectedStatus, repeating the mutation for an ended or cancelled stream succeeds without changes and ignores raidTo. expectedStatus refuses the call when the stream has another status than the caller saw.

Requires a client key with one of these scopes: admin:livestreams:writeRequires this member role or higher: SELLER
endLivestream(
  input: EndLivestreamInput!
): EndLivestreamPayload!

Arguments

ArgumentTypeDescription
inputEndLivestreamInput!The livestream and optional successor.

Return type

EndLivestreamPayload!