# 連動帳號管理_綁定/解除 :::info 2024/02/06 發佈 ::: **會員連動帳號綁定與解除** #### 網址 https://{domain}/api/v1/member/binding #### Http Method POST #### HTTP Header accept-language : language code apikey : apk key #### HTTP Request Body 傳入參數 |欄位名稱|必填|型態|欄位|備註| | ------------ | :-----------: |:-----------: |------------ |------------ | |type |Y |type |類型 |google or apple | |status |Y |Boolen |狀態 |true:綁定 false:解除 | |bind_id |* |string |綁定ID | google or apple id 綁定必填| |email|* |string |信箱 | google or apple email 綁定必填| #### HTTP Response 回傳參數 |Name|Type|說明| | ------------ | ------------ |------------ | |status |boolen |狀態 | |code |string |Response Code | |message |string |說明 | #### Request Header Authoriztion ```json { "accept-language" : "en", //or 'zh_tw' "apikey" : "api key string" } ``` #### Json Example Request Json 綁定 ```json { "type": "google", "status": true, "bind_id": "1234567890", "email": "mingo.tsai@bremsinn.com", } ``` 解除 ```json { "type": "google", "status": false, } ``` Response Json Success ```json { "status": true, "code": 200, "message": "更新資料成功", "result": true } ``` Response Json Error ```json { "status": false, "code": 422, "message": "傳送參數有誤(請選擇類型)", "result": null } ```