--- title: "プッシュ通知用デバイスの登録解除" url: https://docs.catalyst.zoho.com/ja/sdk/flutter/v2/cloud-scale/push-notifications/deregister-device/ description: "このページでは、登録済みのiOSまたはAndroidデバイスのリモートプッシュ通知の登録を解除するメソッドについて説明します。" last_updated: 2026-02-23T12:39:41Z service: Cloud Scale type: general related_links: - name: "Push Notifications" url: /ja/cloud-scale/help/push-notifications/introduction - name: "Push Notifications API" url: /ja/api/code-reference/cloud-scale/push-notifications/ios/send-ios-push-notifications/#SendiOSPushNotifications - name: "Push Notifications Android SDK" url: /ja/sdk/android/v2/cloud-scale/push-notifications/register-device/ - name: "Push Notifications iOS SDK" url: /ja/sdk/ios/v2/cloud-scale/push-notifications/register-device/ --- # プッシュ通知用モバイルデバイスの登録解除 以下に示すように、必要なパラメータを`deregisterNotification()`メソッドに渡すことで、Catalyst iOSプッシュ通知に登録されていたデバイスの登録を解除できます。 ```javascript try{ var response = await ZCatalystApp.getInstance() .deregisterNotification( deviceToken: deviceToken, notificationAppId: "1624000000074620", isTestDevice: false); print(response?.responseJson); } on ZCatalystException catch(ex) { print("Failed to deregister device: $ex"); } ``` **パラメータ:** * `deviceToken`: [AndroidアプリのFCMから取得したデバイストークン](https://docs.catalyst.zoho.com/ja/cloud-scale/help/push-notifications/android/#configure-and-enroll-for-android-push-notifications)、またはiOSアプリの[APNSにリモートプッシュ通知用にデバイスを登録した後に取得したデバイストークン](https://docs.catalyst.zoho.com/ja/cloud-scale/help/push-notifications/ios/#configure-and-enroll-for-ios-push-notifications)。 * `notificationAppID`: Androidの場合、これはCatalystがプッシュ通知でAndroidアプリ用に生成したアプリIDです。Catalystコンソールのプッシュ通知のAndroidセクションで確認できます。iOSの場合、これは[CatalystにiOSアプリを登録した](https://docs.catalyst.zoho.com/ja/sdk/ios/v2/setup/)際にCatalystがアプリ用に生成した`AppConfigurationDevelopment.plist`/ `AppConfigurationProduction.plist`ファイルから取得されます。 * `testDevice`: テストデバイスの場合は値を`true`に設定し、本番デバイスの場合は`false`に設定します。