Schema Documentation

DeleteMediaItemInput

Description

Input for the deleteMediaItem mutation

Fields
Input FieldDescription
clientMutationId - String

This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions.

forceDelete - Boolean

Whether the mediaItem should be force deleted instead of being moved to the trash

id - ID!

The ID of the mediaItem to delete

Example
{"clientMutationId":"xyz789","forceDelete":true,"id":4}