Skip to main content

collectionDelete Mutation

Description

Deletes a collection by its reference ID.

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

Variables

{
"collectionRef": "bd6ba2d121701bd73b8b9fee"
}

Response

{
"collectionDelete": "example"
}

Arguments

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

Returns

String