Admin API / Mutations

deleteCollections

Deletes 1 to 100 collections. Listings and livestreams keep their membership, so a fee incentive on a listing collection still applies to its listings. The slug of a deleted collection, and the name of a deleted manual listing collection, stay taken. The display order of the other collections does not change. One result per input ID, in input order; a failed collection does not stop the others. A repeat returns CollectionNotFoundError for the collections that the first call deleted. No mutation restores a deleted collection. Requires the ADMIN role or higher.

Requires a client key with one of these scopes: admin:collections:deleteRequires this member role or higher: ADMIN
deleteCollections(
  input: DeleteCollectionsInput!
): DeleteCollectionsPayload!

Arguments

ArgumentTypeDescription
inputDeleteCollectionsInput!The collections to delete.

Return type

DeleteCollectionsPayload!