PUT Subscriptions({id})/Validate

Validate details for updating an existing subscription. See Validation.

Request Information

Parameters

NameDescriptionAdditional information
id

ID of the subscription to validate the update for.

Type: String

Request body type

UpdateSubscriptionModel

Request body formats

application/json, text/json

Sample:
{
  "Groups": [
    "DOMAIN\\group1",
    "DOMAIN\\group2"
  ],
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ]
}

Response Information

See Validation.

Response type

ValidationResultModel<UpdateSubscriptionModel>

Response body formats

application/json, text/json

Sample:
{
  "Input": {
    "Groups": [
      "DOMAIN\\group1",
      "DOMAIN\\group2"
    ],
    "Tags": [
      "tag"
    ],
    "CustomProperties": [
      {
        "Name": "myProperty",
        "Value": "myValue"
      }
    ]
  },
  "Errors": [
    {
      "MemberNames": [
        "Groups[0]"
      ],
      "ErrorMessage": "Group is not a member of the tenant's location user groups",
      "ErrorCode": "ArgumentInvalid"
    }
  ]
}