Skip to main content

collectionDelete Mutation

Description​

Deletes a collection by its reference ID.

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

Variables​

{
"collectionRef": "37d4a1a6ee88c15043e61718"
}

Response​

{
"collectionDelete": "example"
}

Arguments​

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

Returns​

String