Delete a Segment Type (ARM)

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

Deletes an existing Segment type.

Request

The request is constructed as follows:

HTTP Verb Request URI
DELETE <https://management.azure.com/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.CustomerInsights/hubs/<hubName>/segments/<segmentName>?api-version=2017-04-26

URI Parameters

URI Parameter Required Description
subId Yes The Azure subscription ID
rgName Yes The resource group name
hubName Yes Name of your Customer Insights Hub
segmentName Yes The name of the segment type to delete

Response

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

Status Code

  • 200 (OK) - Delete succeeded
  • 202 (Accepted) - Delete being processed
  • 403 (Forbidden) - Operation was blocked, perhaps because the Segmentation feature flag is disabled.
  • 404 (Not Found) - Specified segment was not found
  • 409 (Conflict) - Segment is in an intermediate provisioning state