Admin API / Mutations

deleteLivestreams

Deletes 1 to 100 livestreams that are not live or paused. A deleted livestream gets the ENDED status and a hidden replay, and no read returns it. A scheduled or cancelled livestream also gets the ENDED status. The livestreams of the caller and of a store that the caller staffs need the SELLER role. Another host's livestream needs the ADMIN role. One result per input ID, in input order; a failed livestream does not stop the others. A repeat returns DeleteLivestreamItemSuccess for a deleted livestream that the caller can delete, and writes nothing. No mutation restores a deleted livestream.

Requires a client key with one of these scopes: admin:livestreams:deleteRequires this member role or higher: SELLER
deleteLivestreams(
  input: DeleteLivestreamsInput!
): DeleteLivestreamsPayload!

Arguments

ArgumentTypeDescription
inputDeleteLivestreamsInput!The livestreams to delete.

Return type

DeleteLivestreamsPayload!