Partager via


Environment Management Settings - Update Environment Management Settings

Updates fields on a EnvironmentManagementSetting. This API currently doesn't return any entity data in the response body.

PATCH https://api.powerplatform.com/EnvironmentManagement/Environments/{environmentId}/Settings?api-version=2022-03-01-preview

URI Parameters

Name In Required Type Description
environmentId
path True

string

The Id for the EnvironmentManagementSetting being updated

api-version
query True

string

The API version

Responses

Name Type Description
200 OK

OperationResponse

OK

Media Types: "application/json;odata.metadata=minimal;odata.streaming=true", "application/json;odata.metadata=minimal;odata.streaming=false", "application/json;odata.metadata=minimal", "application/json;odata.metadata=full;odata.streaming=true", "application/json;odata.metadata=full;odata.streaming=false", "application/json;odata.metadata=full", "application/json;odata.metadata=none;odata.streaming=true", "application/json;odata.metadata=none;odata.streaming=false", "application/json;odata.metadata=none", "application/json;odata.streaming=true", "application/json;odata.streaming=false", "application/json", "application/xml", "application/prs.odatatestxx-odata", "text/plain", "text/json"

404 Not Found

OperationResponse

Not Found

Media Types: "application/json;odata.metadata=minimal;odata.streaming=true", "application/json;odata.metadata=minimal;odata.streaming=false", "application/json;odata.metadata=minimal", "application/json;odata.metadata=full;odata.streaming=true", "application/json;odata.metadata=full;odata.streaming=false", "application/json;odata.metadata=full", "application/json;odata.metadata=none;odata.streaming=true", "application/json;odata.metadata=none;odata.streaming=false", "application/json;odata.metadata=none", "application/json;odata.streaming=true", "application/json;odata.streaming=false", "application/json", "application/xml", "application/prs.odatatestxx-odata", "text/plain", "text/json"

Other Status Codes

OperationResponse

Conflict

Media Types: "application/json;odata.metadata=minimal;odata.streaming=true", "application/json;odata.metadata=minimal;odata.streaming=false", "application/json;odata.metadata=minimal", "application/json;odata.metadata=full;odata.streaming=true", "application/json;odata.metadata=full;odata.streaming=false", "application/json;odata.metadata=full", "application/json;odata.metadata=none;odata.streaming=true", "application/json;odata.metadata=none;odata.streaming=false", "application/json;odata.metadata=none", "application/json;odata.streaming=true", "application/json;odata.streaming=false", "application/json", "application/xml", "application/prs.odatatestxx-odata", "text/plain", "text/json"

Other Status Codes

OperationResponse

Precondition Failed

Media Types: "application/json;odata.metadata=minimal;odata.streaming=true", "application/json;odata.metadata=minimal;odata.streaming=false", "application/json;odata.metadata=minimal", "application/json;odata.metadata=full;odata.streaming=true", "application/json;odata.metadata=full;odata.streaming=false", "application/json;odata.metadata=full", "application/json;odata.metadata=none;odata.streaming=true", "application/json;odata.metadata=none;odata.streaming=false", "application/json;odata.metadata=none", "application/json;odata.streaming=true", "application/json;odata.streaming=false", "application/json", "application/xml", "application/prs.odatatestxx-odata", "text/plain", "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
ErrorDetail
ErrorResponse
OperationResponse

Represents the response object for APIs in this service.

ErrorDetail

Name Type Description
code

string

message

string

target

string

value

string

ErrorResponse

Name Type Description
code

string

details

ErrorDetail[]

message

string

OperationResponse

Represents the response object for APIs in this service.

Name Type Description
debugErrors

string

Gets or sets DebugErrors, only shown for private/local testing

errors

ErrorResponse

nextLink

string

Gets or sets the nextLink if there are more records to be returned

objectResult

Gets or sets the response's object

responseMessage

string

Gets or sets the error message.