Skip to content

Partial update a Blueprint
Deprecated

Request

Returns the details of the updated Blueprint instance.

⚠️ Deprecation Notice: This endpoint will soon be deprecated. Use Blueprints API instead.

Security
esper_cloud_api_apiKey
Path
enterprise_idstring, (uuid)required

Enterprise ID

group_idstring, (uuid)required

Device Group ID

blueprint_idstring, (uuid)required

Blueprint ID

Query
without_detailsboolean
Bodyapplication/jsonrequired
namestring
descriptionstring
lockedboolean
groupstring, (uuid)
latest_revisionobject(Blueprint)
cURL
curl -i -X PATCH \
  'https://api.esper.io/_mock/openapi/enterprise/{enterprise_id}/devicegroup/{group_id}/blueprint/{blueprint_id}/?without_details=true' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "description": "string",
    "locked": true,
    "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
    "latest_revision": {
      "type": "Independent",
      "comments": "string",
      "locked": true,
      "connectivity": {
        "sms_disabled": true,
        "enable_bluetooth": true,
        "wifi_state": true,
        "nfc_beam_disabled": true,
        "ethernet_settings": {
          "ethernet_auth_mode": "EAP_TLS",
          "ethernet_ca_cert_alias": "string",
          "ethernet_client_cert_alias": "string",
          "ethernet_eap_identity": "string"
        },
        "wifi_settings": [
          {
            "wifi_ssid": "string",
            "wifi_password": "string",
            "wifi_security_type": "NONE",
            "wifi_phase2_auth": "NONE",
            "wifi_eap_method": "PEAP",
            "identity": "string",
            "anonymous_identity": "string",
            "domain": "string",
            "hidden": true
          }
        ],
        "incoming_numbers_with_tags": [
          {
            "number": "string",
            "tags": [
              "string"
            ]
          }
        ],
        "outgoing_numbers_with_tags": [
          {
            "number": "string",
            "tags": [
              "string"
            ]
          }
        ],
        "section_type": "Inherited",
        "locked": true
      },
      "sound": {
        "alarm_volume": 0,
        "notification_volume": 0,
        "music_volume": 0,
        "ring_volume": 0,
        "section_type": "Inherited",
        "locked": true
      },
      "display_branding": {
        "screenshot_disabled": true,
        "status_bar_disabled": true,
        "rotation_state": "AUTO",
        "brightness_scale": 0,
        "wallpapers": [
          {
            "wallpaper": "998c2554-a732-4ba2-a860-39fb7532a406",
            "orientation": "string",
            "screen_types": [
              "LOCKSCREEN"
            ],
            "orientations": [
              "PORTRAIT"
            ]
          }
        ],
        "section_type": "Inherited",
        "locked": true
      },
      "hardware_settings": {
        "gps_state": "LOCATION_MODE_HIGH_ACCURACY",
        "usb_file_transfer_disabled": true,
        "tethering_disabled": true,
        "camera_disabled": true,
        "usb_connectivity_disabled": true,
        "section_type": "Inherited",
        "locked": true
      },
      "date_time": {
        "timezone_string": "string",
        "device_locale": "string",
        "date_time_config_disabled": true,
        "section_type": "Inherited",
        "locked": true
      },
      "settings_app": {
        "enable_android_settings_app": true,
        "settings_access_level": "NONE",
        "esper_settings_app": {
          "only_dock_accessible": true,
          "admin_mode_password": "string",
          "esper_settings_app_policy": {
            "flashlight": "string",
            "wifi": "string",
            "auto_rotation": "string",
            "reboot": "string",
            "kiosk_app_selection": "string",
            "esper_branding": "string",
            "factory_reset": "string",
            "about": "string",
            "display": "string",
            "sound": "string",
            "keyboard": "string",
            "input_selection": "string",
            "accessibility": "string",
            "mobile_data": "string",
            "bluetooth": "string",
            "language": "string",
            "time_and_date": "string",
            "clear_app_data": "string",
            "storage": "string",
            "data_roaming": "string",
            "wifi_tethering": "string",
            "airplane_mode": "string",
            "accessibility_reset_to_default": "string",
            "accessibility_high_contrast_text": "string",
            "accessibility_cc_deuteranomaly": "string",
            "accessibility_cc_protanomaly": "string",
            "accessibility_cc_tritanomaly": "string",
            "accessibility_mono_audio": "string",
            "accessibility_display_size": "string",
            "accessibility_talkback": "string",
            "accessibility_text_to_speech": "string"
          }
        },
        "config_json": {},
        "section_type": "Inherited",
        "locked": true
      },
      "system_updates": {
        "locked": true,
        "section_type": "Inherited",
        "type": "TYPE_POSTPONE",
        "maintenance_start": 0,
        "maintenance_end": 0
      },
      "google_services": {
        "disable_play_store": true,
        "google_assistant_disabled": true,
        "managed_google_play_disabled": true,
        "max_account": 0,
        "emails": [
          "string"
        ],
        "domains": [
          "string"
        ],
        "frp_googles": [
          {
            "google_id": "string",
            "email": "string",
            "type": "USER"
          }
        ],
        "section_type": "Inherited",
        "locked": true
      },
      "security": {
        "password_quality": "PASSWORD_QUALITY_ALPHABETIC",
        "minimum_password_length": 0,
        "adb_disabled": true,
        "safe_boot_disabled": true,
        "screen_off_timeout": 0,
        "factory_reset_disabled": true,
        "keyguard_disabled": true,
        "section_type": "Inherited",
        "locked": true
      },
      "application": {
        "app_mode": "KIOSK",
        "launch_on_start": "string",
        "start_on_boot": "string",
        "launcher_less_dpc": true,
        "disable_local_app_install": true,
        "app_uninstall_disabled": true,
        "permission_policy": "PERMISSION_POLICY_AUTO_GRANT",
        "locked": true,
        "preload_apps": [
          {
            "package_name": "string",
            "state": "SHOW"
          }
        ],
        "apps": [
          {
            "app_version": "c0c566d6-ecac-4beb-bf0b-766e3c53e334",
            "installation_rule": "DURING",
            "state": "SHOW",
            "managed_config": {}
          }
        ],
        "section_type": "Inherited"
      },
      "content": {
        "files": [
          {
            "file": 0,
            "destination_path": "string"
          }
        ],
        "section_type": "Inherited",
        "locked": true
      }
    }
  }'

Responses

Partially updated Blueprint

Bodyapplication/json
idstring, (uuid)read-only
namestring
descriptionstring
lockedboolean
groupstring, (uuid)
latest_revisionobject(Blueprint)
created_onstring, (date-time)read-only
updated_onstring, (date-time)read-only
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "locked": true, "group": "fbd899a6-8a66-4f51-a95d-68668de198ae", "latest_revision": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": "string", "created_by": "string", "current": true, "type": "Independent", "comments": "string", "locked": true, "connectivity": { … }, "sound": { … }, "display_branding": { … }, "hardware_settings": { … }, "date_time": { … }, "settings_app": { … }, "system_updates": { … }, "google_services": { … }, "security": { … }, "application": { … }, "content": { … }, "created_on": "2019-08-24T14:15:22Z" }, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z" }