Category Filter

Create Policy

Create a new policy.

Arguments Type Description
name String Name of the policy
description String Description of the policy
ios Dictionary Optional. If provided this dictionary, provide the following keys:
password, restrictions, advanced_restrictions, web_content_filter, wifi, email, activesync, ldap, caldav, subscribe_calendar, carddav, webclip, access_point, applock, wallpaper, globalproxy, lock_screen_msg, app_management. It can be set to null if nothing is configured
android Dictionary Optional. If provided this dictionary, provide the following keys:
password, restrictions, wifi, email, activesync, applock, app_management and wallpaper. It can also be set to null if nothing configured
general_settings Dictionary Optional. Dictionary for general_settings currently contains only a location_settings key. Its value is a dictionary that contains keys trackingdisabled and interval_minutes.

Key Type
trackingdisabled Boolean
interval_minutes Integer
policy_targets Dictionary Optional. Policy targets support users, devices, usergroups and devicegroups and values are list of their respective IDs.
curl

HTTP Request:

Shell Command: