v11

latestSwagger 2.02026-07-13204672.0 KB
ManagementGroups

Associates existing subscription with the management group.

put/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}

Path parameters

groupIdstring required

Management Group ID.

subscriptionIdstring required

Subscription ID.

Query parameters

api-versionstring required

Version of the API to be used with the client request. The current version is 2018-01-01-preview.

Headers

Cache-Controlstring

Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.

Response

OK

idstring

The fully qualified ID for the subscription. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/subscriptions/0000000-0000-0000-0000-000000000001

typestring

The type of the resource. For example, Microsoft.Management/managementGroups/subscriptions

namestring

The stringified id of the subscription. For example, 00000000-0000-0000-0000-000000000000