PUT Tenants({id})/Subscriptions({subscriptionId})/Validate
Validate details for updating an existing subscription. See Validation.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | The ID of the tenant the subscription is being updated for. |
Type: String |
| subscriptionId | ID of the subscription to validate the update for. |
Type: String |
Request body type
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"
}
]
}