---
schema_version: "1"
id: 5272b3fa7a22d3d83df54304f9f422f640fc2948f5df64048d53db3765da2566
title: "Example: Suspend a Device from Self-Service"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_standard_example_suspend_a_device_from_self_service.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_standard_example_suspend_a_device_from_self_service.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 40598eadc3a68c42038e828be292bf33838db45b07109bac38e07d30618cdfad
description: Learn how to set up a Flexcard that your customers use to suspend a mobile device from a self-service portal.
products:
  - Omnistudio
release: "264"
---
# Example: Suspend a Device from Self-Service

Learn how to set up a Flexcard that your customers use to suspend a mobile device from a self-service portal.

1. Create a Flexcard whose data source:
    
    - Gets a list of a customer's active mobile devices.
    - Returns an IsSuspended data field with a true or false value.
2. Add an image element that displays a picture of the device.
3. Add a toggle element that meets these criteria:
    
    - Customers use the toggle to select the device to suspend.
    - You bind the value of the toggle to the IsSupended data field.
    - You add an Update Omniscript action to the toggle.
4. Include the Flexcard in an Omniscript that uses a Data Mapper Post Action to update the status of the mobile device in the customer’s account.