/// <summary> /// 删除一个令牌 /// </summary> /// <param name="token_id"></param> /// <param name="timeout">请求超时时间,单位秒</param> /// <returns></returns> public static HttpResponse <string> DeleteToken(string token_id, long timeout = 30) { return(Rtc.Delete("/tokens/" + token_id, timeout).asString()); }
/// <summary> /// 重置此项目API Secret /// </summary> /// <param name="timeout"></param> /// <returns></returns> public HttpResponse <ProjectItem> ResetProject(long timeout = 30) { return(Rtc.Delete("/project/reset", timeout) .asJson <ProjectItem>()); }
/// <summary> /// 删除一个会话 /// </summary> /// <param name="param"></param> /// <param name="timeout">请求超时时间,单位秒</param> /// <returns></returns> public static HttpResponse <string> DeleteSession(string session_id, long timeout = 30) { return(Rtc.Delete("/sessions/" + session_id, timeout).asString()); }
/// <summary> /// 删除此项目信息 /// </summary> /// <param name="timeout"></param> /// <returns></returns> public HttpResponse <string> DeleteProject(long timeout = 30) { return(Rtc.Delete("/project/delete", timeout) .asString()); }