appinfo.delAuthKey - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.appinfo.delAuthKey
API ์ค๋ช
- AuthKey ์ญ์ API
- ํด๋น ์ฑ์ ๋ํ G-Box์ AuthKey๋ฅผ ์ญ์ ํจ
API ๊ตฌ์กฐ
- function delAuthKey(options,callback)
options
result_cd
200
: ์ฑ๊ณต
500
: ์์คํ
Error
extra
์ฌ์ฉ ์์
// callback ๋ฐฉ์
var options = {};
gigagenie.appinfo.delAuthKey(options, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
console.log("AuthKey Deleting is Success");
} else {
console.log("AuthKey Deleting is fail.");
}
});
// promise ๋ฐฉ์
var options = {};
gigagenie.appinfo.setAuthKey(options).then(function (extra) {
console.log("AuthKey Deleting is Success");
}).catch(function (result_cd, result_msg, extra) {
console.log("AuthKey Deleting is fail.");
})