Delete a notification endpoint
通知
刪除 Notification Endpoint
POST
Delete a notification endpoint
依 列出 Notification Endpoints 回傳的
apiNotificationId 刪除一個已註冊的通知端點。每次呼叫只能刪除一個端點。回應不含 Payload——請讀取 meta.status 以確認結果。
您只能刪除自己的帳戶透過本 API 註冊的端點。若 apiNotificationId 不存在或屬於其他帳戶,會回傳 HTTP 200,meta.status 為 400,meta.errorCode 為 VALIDATION_FAILED:
等冪性
x-returnhelper-idempotency-key 標頭為選填。未帶此標頭的呼叫會正常執行,但不具備防重複的保護。請參閱等冪性。
相關
授權
Your API key
Your API token — keep this private
主體
application/json
Identifier of the notification endpoint to delete, as returned by /api/Notification/GetAll.
範例:
1234
回應
Success — returns the standard response envelope with no additional payload fields. Inspect meta.status to confirm the deletion succeeded.
Universal response envelope. Successful responses include the business payload as additional top-level fields alongside correlationId and meta. Failed responses (auth errors, validation errors) only populate correlationId and meta, with meta.errorCode and meta.error describing the failure.