示例#1
0
        public async Task <string> Remove(string tag, string groupID)
        {
            string uri     = string.Format("tags/{0}", HttpUtility.UrlEncode(tag));
            string content = string.Format("group={0}", HttpUtility.UrlEncode(groupID));

            return(await Api.Delete(uri, content));
        }
示例#2
0
        public async Task <string> Remove(string greetingID)
        {
            string uri = string.Format("greetings/{0}", HttpUtility.UrlEncode(greetingID));

            return(await Api.Delete(uri));
        }
        public async Task <string> Remove(string responseID)
        {
            string uri = string.Format("canned_responses/{0}", HttpUtility.UrlEncode(responseID));

            return(await Api.Delete(uri));
        }
示例#4
0
        public async Task <string> Remove(string groupID)
        {
            string uri = string.Format("groups/{0}", groupID);

            return(await Api.Delete(uri));
        }
示例#5
0
        public async Task <string> Remove(string webhookID)
        {
            string uri = string.Format("webhooks/{0}", HttpUtility.UrlEncode(webhookID));

            return(await Api.Delete(uri));
        }
示例#6
0
        public async Task <string> Remove(string login)
        {
            string uri = string.Format("agents/{0}", HttpUtility.UrlEncode(login));

            return(await Api.Delete(uri));
        }