CreateSubscriptionModel

Details for creating one or more subscriptions.

Properties

NameDescription Additional information
OfferingIds

A list of IDs of the offerings to create subscriptions to. A subscription will be created or updated for the tenant to each of the offerings, with the same list of user groups. Required.

Type: Array of String

TenantId

ID of the tenant to create subscriptions for. Required.

Type: String

Groups

List of user groups to subscribe from the tenant to the offerings. Must be in SAM format ("DOMAIN\group"). Required.

Type: Array of String

Tags

See Tags and Custom Properties. The tags are attached to all created or updated subscriptions.

Type: Array of String

CustomProperties

See Tags and Custom Properties. The custom properties are attached to all created or updated subscriptions.

Type: Array of CustomPropertyModel

Sample

application/json

Sample:
{
  "OfferingIds": [
    "2f08f456-7ec8-4edc-866d-25037776ef4f"
  ],
  "TenantId": "91ade655-feb5-47d3-9585-a5827ad50132",
  "Groups": [
    "DOMAIN\\group1",
    "DOMAIN\\group2"
  ],
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ]
}