Microsoft.Subscription (preview:2025-11-01)

2025/12/08 • 21 new methods

Subscription_Cancel (new)
Description The operation to cancel a subscription
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
subscriptionId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscription_Rename (new)
Description The operation to rename a subscription
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename
{
subscriptionId: string ,
body:
{
subscriptionName: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
subscriptionId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscription_Enable (new)
Description The operation to enable a subscription
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
subscriptionId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SubscriptionOperation_Get (new)
Description Get the status of the pending Microsoft.Subscription API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Subscription/subscriptionOperations/{operationId}
{
operationId: string ,
api-version: string ,
}

⚐ Response (200)

{
subscriptionLink: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Lists all of the available Microsoft.Subscription API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Subscription/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Alias_Create (new)
Description Create Alias Subscription.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Subscription/aliases/{aliasName}
{
aliasName: string ,
body:
{
properties:
{
displayName: string ,
workload: enum ,
billingScope: string ,
subscriptionId: string ,
resellerId: string ,
additionalProperties:
{
managementGroupId: string ,
subscriptionTenantId: string ,
subscriptionOwnerId: string ,
tags: object ,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
subscriptionId: string ,
displayName: string ,
provisioningState: enum ,
acceptOwnershipUrl: string ,
acceptOwnershipState: enum ,
billingScope: string ,
workload: enum ,
resellerId: string ,
subscriptionOwnerId: string ,
managementGroupId: string ,
createdTime: string ,
tags: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
properties:
{
subscriptionId: string ,
displayName: string ,
provisioningState: enum ,
acceptOwnershipUrl: string ,
acceptOwnershipState: enum ,
billingScope: string ,
workload: enum ,
resellerId: string ,
subscriptionOwnerId: string ,
managementGroupId: string ,
createdTime: string ,
tags: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Alias_Get (new)
Description Get Alias Subscription.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Subscription/aliases/{aliasName}
{
aliasName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
subscriptionId: string ,
displayName: string ,
provisioningState: enum ,
acceptOwnershipUrl: string ,
acceptOwnershipState: enum ,
billingScope: string ,
workload: enum ,
resellerId: string ,
subscriptionOwnerId: string ,
managementGroupId: string ,
createdTime: string ,
tags: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Alias_Delete (new)
Description Delete Alias.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Subscription/aliases/{aliasName}
{
aliasName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Alias_List (new)
Description List Alias Subscription.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Subscription/aliases
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
subscriptionId: string ,
displayName: string ,
provisioningState: enum ,
acceptOwnershipUrl: string ,
acceptOwnershipState: enum ,
billingScope: string ,
workload: enum ,
resellerId: string ,
subscriptionOwnerId: string ,
managementGroupId: string ,
createdTime: string ,
tags: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscription_AcceptOwnership (new)
Description Accept subscription ownership.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnership
{
subscriptionId: string ,
body:
{
properties:
{
displayName: string ,
managementGroupId: string ,
tags: object ,
}
,
}
,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscription_AcceptOwnershipStatus (new)
Description Accept subscription ownership status.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnershipStatus
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
subscriptionId: string ,
acceptOwnershipState: enum ,
provisioningState: enum ,
billingOwner: string ,
subscriptionTenantId: string ,
displayName: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SubscriptionPolicy_AddUpdatePolicyForTenant (new)
Description Create or Update Subscription tenant policy for user's tenant.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Subscription/policies/default
{
body:
{
blockSubscriptionsLeavingTenant: boolean ,
blockSubscriptionsIntoTenant: boolean ,
exemptedPrincipals:
[
string ,
]
,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
policyId: string ,
blockSubscriptionsLeavingTenant: boolean ,
blockSubscriptionsIntoTenant: boolean ,
exemptedPrincipals:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SubscriptionPolicy_GetPolicyForTenant (new)
Description Get the subscription tenant policy for the user's tenant.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Subscription/policies/default
{
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
policyId: string ,
blockSubscriptionsLeavingTenant: boolean ,
blockSubscriptionsIntoTenant: boolean ,
exemptedPrincipals:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SubscriptionPolicy_ListPolicyForTenant (new)
Description Get the subscription tenant policy for the user's tenant.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Subscription/policies
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
policyId: string ,
blockSubscriptionsLeavingTenant: boolean ,
blockSubscriptionsIntoTenant: boolean ,
exemptedPrincipals:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccount_GetPolicy (new)
Description Get Billing Account Policy.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default
{
billingAccountId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
serviceTenants:
[
{
tenantId: string ,
tenantName: string ,
}
,
]
,
allowTransfers: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_PutTargetDirectory (new)
Description The operation to initiate Subscription Changed Request
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/changeTenantRequest/default
{
subscriptionId: string ,
api-version: string ,
body:
{
properties:
{
destinationOwnerId: string ,
destinationTenantId: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
destinationTenantId: string ,
destinationOwnerId: string ,
subscriptionId: string ,
createdDate: string ,
acceptedDate: string ,
sourceOwnerEmail: string ,
sourceOwnerId: string ,
sourceTenantId: string ,
status: enum ,
expiresOn: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_GetTargetDirectory (new)
Description The operation to view Initiator Subscription Changed Request
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/changeTenantRequest/default
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
destinationTenantId: string ,
destinationOwnerId: string ,
subscriptionId: string ,
createdDate: string ,
acceptedDate: string ,
sourceOwnerEmail: string ,
sourceOwnerId: string ,
sourceTenantId: string ,
status: enum ,
expiresOn: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_DeleteTargetDirectory (new)
Description The operation to delete Initiator Subscription Changed Request
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/changeTenantRequest/default
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_ListTargetDirectory (new)
Description The operation to list Initiator Subscription Changed Request
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/changeTenantRequest
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
destinationTenantId: string ,
destinationOwnerId: string ,
subscriptionId: string ,
createdDate: string ,
acceptedDate: string ,
sourceOwnerEmail: string ,
sourceOwnerId: string ,
sourceTenantId: string ,
status: enum ,
expiresOn: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_AcceptTargetDirectory (new)
Description The operation to accept Subscription Changed Request
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptChangeTenant
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Subscriptions_TargetDirectoryStatus (new)
Description The operation for Acceptor to view the accepted request
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Subscription/subscriptions/{subscriptionId}/changeTenantStatus
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
destinationTenantId: string ,
destinationOwnerId: string ,
subscriptionId: string ,
createdDate: string ,
acceptedDate: string ,
sourceOwnerEmail: string ,
sourceOwnerId: string ,
sourceTenantId: string ,
status: enum ,
expiresOn: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}