collectionDelete Mutation
Description
Deletes a collection by its reference ID.
mutation collectionDelete($collectionRef: ID!) {
collectionDelete(collectionRef: $collectionRef)
}
Variables
{
"collectionRef": "bd6ba2d121701bd73b8b9fee"
}
Response
{
"collectionDelete": "example"
}
Arguments
| Name | Type | Description |
|---|---|---|
collectionRef | ID! | Reference ID of the collection to delete (required) |