0

Is it possible to delete a record from cosmos db. I dont want to write any scripts. Is it possible to direct hit this query from cosmos db UI from azure portal

DELETE * FROM c WHERE c.id = 'XYZ'

sar
  • 99
  • 9
  • Please see [this answer](https://stackoverflow.com/a/46873986/272109), under the question I marked this as duplicate of, where I've provided details directly related to your question. – David Makogon Feb 15 '21 at 14:56

1 Answers1

3

Set based operations including Delete are not supported on Azure CosmosDB. You could consider upvoting for it here

However you could delete the documents from portal by selecting them or using SDK

Sajeetharan
  • 216,225
  • 63
  • 350
  • 396
  • Note that the question is a duplicate of [this one](https://stackoverflow.com/q/46871925/272109), where I've already provided a detailed answer. – David Makogon Feb 15 '21 at 14:57