Schema Documentation

deleteMediaItem

Description

The deleteMediaItem mutation

Response

Returns a DeleteMediaItemPayload

Arguments
NameDescription
input - DeleteMediaItemInput! Input for the deleteMediaItem mutation

Example

Query
mutation deleteMediaItem($input: DeleteMediaItemInput!){  deleteMediaItem(input: $input){    clientMutationIddeletedIdmediaItem {      ...MediaItemFragment    }  }}
Variables
{"input":DeleteMediaItemInput}
Response
{"data":{"deleteMediaItem":{"clientMutationId":"abc123","deletedId":"4","mediaItem":MediaItem}}}