admin.delAuthKey - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki

gigagenie.admin.delAuthKey

API ์„ค๋ช…

  • ์•ฑ AuthKey ์ •๋ณด ์‚ญ์ œ API
  • ktadmin ๊ถŒํ•œ์„ ๊ฐ€์ง„ AppID๋งŒ ํ˜ธ์ถœ ๊ฐ€๋Šฅํ•œ API
  • ์ž…๋ ฅ๋œ AppID์˜ AuthKey ์ •๋ณด๋ฅผ ์‚ญ์ œ

API ๊ตฌ์กฐ

  • function delAuthKey(options,callback)
  • options
    • appid: (String, Mandatory) AuthKey๋ฅผ ์‚ญ์ œํ•˜๊ณ ์ž ํ•˜๋Š” appId
  • result_cd
    • 200: ์„ฑ๊ณต
    • 500: ์‹œ์Šคํ…œ Error
  • extra
    • null

์‚ฌ์šฉ ์˜ˆ์‹œ

// callback ๋ฐฉ์‹
var options = {};
options.appid = "X0000000";
gigagenie.admin.delAuthKey(options, function (result_cd, result_msg, extra) {
    if (result_cd === 200) {
        console.log("delAuthKey Success");
    } else {
        console.log("delAuthKey Fail");
    }
});