Create or Update SAS Policy (Hub)

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

Creates a new or updates an existing Authentication Policy for a resource in a Customer Insights Hub.


The request is constructed as follows:

HTTP Verb Request URI
PUT <hub-endpoint>/manage/sas/Policies/<policyName>?api-version=2017-04-26

URI Parameters

URI Parameter Required Description
hub-endpoint Yes The base URL for your Customer Insights Hub
policyName Yes The name of the SAS policy to create or update

Request Body

The request body must contain a SasPolicy definition that optionally repeats the policy name.

    "Permissions":["Read" | "Write" | "Manage"], 


The following table describes the elements of the request body.


The response includes an HTTP status code and a standard set of response headers.

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 policies.