Skip to main content

collectionDelete Mutation

Description​

Deletes a collection by its reference ID.

mutation collectionDelete($collectionRef: ID!) {
collectionDelete(collectionRef: $collectionRef)
}

Variables​

{
"collectionRef": "5c3cac415eca2997bc5e821c"
}

Response​

{
"collectionDelete": "example"
}

Arguments​

NameTypeDescription
collectionRefID!Reference ID of the collection to delete (required)

Returns​

String