Currency Allocation - Patch Currency Allocation By Environment
Allocate and deallocate the currencies for the environment.
PATCH https://api.powerplatform.com/licensing/environments/{environmentId}/allocations?api-version=2022-03-01-preview
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
environment
|
path | True |
string |
The environment ID. |
|
api-version
|
query | True |
string |
The API version. |
Request Body
| Name | Type | Description |
|---|---|---|
| currencyAllocations |
Specify the request body with environment ID and currency details. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Success |
|
| 400 Bad Request |
Bad Request |
|
| 401 Unauthorized |
Unauthorized |
|
| 403 Forbidden |
Forbidden |
|
| 404 Not Found |
Not Found |
Security
oauth2
Microsoft Entra ID OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Scopes
| Name | Description |
|---|---|
| .default | .default |
Definitions
| Name | Description |
|---|---|
|
Allocations |
|
|
Allocations |
The response body includes environment ID and allocated currencies. |
|
Currency |
|
|
Currency |
|
|
External |
Available currency type which can be allocated to environment. |
AllocationsByEnvironmentPatchRequestModelV1
| Name | Type | Description |
|---|---|---|
| currencyAllocations |
Specify the request body with environment ID and currency details. |
AllocationsByEnvironmentResponseModelV1
The response body includes environment ID and allocated currencies.
| Name | Type | Description |
|---|---|---|
| currencyAllocations |
The collection of currencies with allocation count. |
|
| environmentId |
string |
The environment ID for which the currency has been allocated. |
CurrencyAllocationRequestModelV1
| Name | Type | Description |
|---|---|---|
| allocated |
integer (int32) |
Specify the currency count. |
| currencyType |
Available currency type which can be allocated to environment. |
CurrencyAllocationResponseModelV1
| Name | Type | Description |
|---|---|---|
| allocated |
integer (int32) |
The allocated count of currency type |
| currencyType |
Available currency type which can be allocated to environment. |
ExternalCurrencyType
Available currency type which can be allocated to environment.
| Value | Description |
|---|---|
| AI | |
| AppPass | |
| AppPassForTeams | |
| Invoice | |
| MCSSessions | |
| MCSMessages | |
| PAHostedRPA | |
| PAUnattendedRPA | |
| PerFlowPlan | |
| PortalAddOns | |
| PortalLogins | |
| PortalViews | |
| PowerPagesAuthenticated | |
| PowerPagesAnonymous | |
| PowerAutomatePerProcess | |
| ProcessMiningDataStorage | |
| SCMessages | |
| VAConversations |