Create or Update App View (ARM)

[This topic is pre-release documentation and is subject to change.]

Creates a new or updates an existing App View type for a Customer Insights Hub.


The request is constructed as follows:

HTTP Verb Request URI

URI Parameters

URI Parameter Required Description
subId Yes The Azure subscription ID
rgName Yes The resource group name
viewName Yes The name of the app view to create or update.

Request Body

A JSON object describing a View, for example:

    "userId": "testUser",
    "displayName": {
        "en": "some name"
    "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}"


The response includes an HTTP status code and a standard set of response headers. Upon success, the body will contain information about the newly created view in the following form:

    "id": <viewUrl>, 
    "name": <viewName>, 
    "type": "Microsoft.CustomerInsights/hubs/views", 
    "properties": { <viewProperties> }

Status Code

  • 200 (OK) - if the update request completed successfully.
  • 201 (Created) - if the create request completed successfully.
  • 401 (Unauthorized) - if the sender does not have write access to this resource.