Environment Managed Governance - Disable Managed Environment
Disables managed governance for the specified environment (Preview).
Disables managed governance for an environment. PRIVATE PREVIEW https://aka.ms/PowerPlatform/RBAC .
POST https://api.powerplatform.com/environmentmanagement/environments/{environmentId}/governancesetting/disablemanaged?api-version=2022-03-01-preview
POST https://api.powerplatform.com/environmentmanagement/environments/{environmentId}/governancesetting/disablemanaged?ValidateOnly={ValidateOnly}&ValidateProperties={ValidateProperties}&api-version=2022-03-01-preview
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
environment
|
path | True |
string |
The ID of the environment. |
|
api-version
|
query | True |
string |
The API version. |
|
Validate
|
query |
boolean |
The value which indicates whether the operation is a validated only request. Examples:
|
|
|
Validate
|
query |
string |
The value which indicates what properties should be validated. Need to work together with ValidateOnly Properties should be separated by ','. Example: "property1,property2,property3". |
Responses
| Name | Type | Description |
|---|---|---|
| 201 Created |
Created Media Types: "text/plain", "application/json", "text/json" |
|
| 400 Bad Request |
Bad Request Media Types: "text/plain", "application/json", "text/json" |
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 |
|---|---|
| Environment | |
|
Error |
|
|
Job |
|
|
Operation |
|
|
Operation |
The operation status. |
|
User |
Environment
| Name | Type | Description |
|---|---|---|
| environmentId |
string |
The environment ID. |
ErrorInfo
| Name | Type | Description |
|---|---|---|
| code |
string |
The error code. |
| fieldErrors |
object |
JobStatus
| Name | Type | Description |
|---|---|---|
| endTime |
string (date-time) |
The job end time. |
| name |
string |
The job name. |
| startTime |
string (date-time) |
The job start time. |
| status |
string |
The job status. |
OperationExecutionResult
| Name | Type | Description |
|---|---|---|
| endTime |
string (date-time) |
The end time. |
| errorDetail | ||
| jobStatuses | ||
| name |
string |
The result name. |
| operationId |
string |
The operation ID. |
| requestedBy | ||
| startTime |
string (date-time) |
The start time. |
| status |
The operation status. |
|
| updatedEnvironment |
OperationStatus
The operation status.
| Value | Description |
|---|---|
| Queued | |
| InProgress | |
| Succeeded | |
| ValidationError | |
| Failed | |
| NoOperation | |
| Validated |
UserIdentity
| Name | Type | Description |
|---|---|---|
| displayName |
string |
The display name. |
| tenantId |
string |
The tenant ID. |
| userId |
string |
The user ID. |