Skip to navigation

刪除客戶總部

View as Markdown

⚠️ 刪除群組後,總部客戶的 Boss 角色使用者立即看不到原本子客戶的資料。

刪除客戶總部,成功回傳 204,沒有 body。刪除的只有群組本身:所有成員(包含總部客戶)的所屬群組會歸零,客戶不會被刪除。群組不存在,或屬於其他租戶,一律回傳 404 not_found。

同一租戶的總部寫入請一次送一筆,也不要與該租戶的客戶寫入同時進行。

Authentication

X-Signaturestring

每個 /v1 請求都必須帶 X-Client-Id、X-Timestamp、X-Nonce 與 X-Signature 四個標頭。X-Signature 是以 client secret 對 canonical string 做 HMAC-SHA256 後的 Base64。

canonical string 的組成、可複製的簽章範例與 401 排查步驟,請參閱「驗證與簽章」。

Path parameters

idlongRequired

要刪除的群組序號。不存在或屬於其他租戶時,一律回傳 404 not_found。

Response

No Content

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error