diff --git a/sdk/data/azcosmos/cosmos_container.go b/sdk/data/azcosmos/cosmos_container.go index bec7a82bbef2..4d1570192bf6 100644 --- a/sdk/data/azcosmos/cosmos_container.go +++ b/sdk/data/azcosmos/cosmos_container.go @@ -138,9 +138,8 @@ func (c *ContainerClient) Delete( } operationContext := pipelineRequestOptions{ - resourceType: resourceTypeCollection, - resourceAddress: c.link, - isWriteOperation: true, + resourceType: resourceTypeCollection, + resourceAddress: c.link, } path, err := generatePathForNameBased(resourceTypeCollection, c.link, false)