Sha256: 2dfc3fc339fac8b49104e3704b63140332916068c3bcde7916a383cd6c45138d

Contents?: true

Size: 736 Bytes

Versions: 13

Compression:

Stored size: 736 Bytes

Contents

#################
Channel Uninstall
#################

Channels can be uninstalled using ``ChannelUninstall``. There is a limit of 200 channels that
can be uninstalled at one time. For more information, see `the API documentation
<http://docs.urbanairship.com/api/ua.html#uninstall-channels>`__.

.. sourcecode:: ruby

   require 'urbanairship'
   UA = Urbanairship
   airship = UA::Client.new(key: 'app_key', secret: 'master_secret')
   cu = UA::ChannelUninstall.new(client: airship)

   chans = [{"channel_id" => "00000000-00000000-00000000-00000000",
             "device_type" => "ios"},
            {"channel_id" => "11111111-11111111-11111111-11111111",
             "device_type" => "android"}]

   cu.uninstall(channels: chans)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
urbanairship-5.2.0 docs/channel_uninstall.rst
urbanairship-5.0.1 docs/channel_uninstall.rst
urbanairship-5.0.0 docs/channel_uninstall.rst
urbanairship-4.1.1 docs/channel_uninstall.rst
urbanairship-4.1.0 docs/channel_uninstall.rst
urbanairship-4.0.0 docs/channel_uninstall.rst
urbanairship-3.2.4 docs/channel_uninstall.rst
urbanairship-3.2.3 docs/channel_uninstall.rst
urbanairship-3.2.2 docs/channel_uninstall.rst
urbanairship-3.2.1 docs/channel_uninstall.rst
urbanairship-3.2.0 docs/channel_uninstall.rst
urbanairship-3.1.1 docs/channel_uninstall.rst
urbanairship-3.1.0 docs/channel_uninstall.rst