Couchbase.Management.CouchbaseCluster.DeleteDesignDocument C# (CSharp) Method

DeleteDesignDocument() public method

public DeleteDesignDocument ( string bucket, string name ) : bool
bucket string
name string
return bool
        public bool DeleteDesignDocument(string bucket, string name)
        {
            var uri = getDesignDocumentUri(bucket, name);
            var response = HttpHelper.Delete(uri, _username, _password);
            var jsonResponse = JObject.Parse(response);
            return jsonResponse["ok"].Value<string>().Equals("true", StringComparison.CurrentCultureIgnoreCase);
        }