Partager via


Environment Management Settings - Create Environment Management Settings

Create Environment Management Settings

POST 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 environment Id

api-version
query True

string

The API version

Responses

Name Type Description
200 OK

CreateEnvironmentManagementSettingResponse

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"

400 Bad Request

CreateEnvironmentManagementSettingResponse

Bad Request

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

CreateEnvironmentManagementSettingResponse

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"

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
CreateEnvironmentManagementSettingResponse

Represents the response object for APIs in this service.

ErrorDetail
ErrorResponse

CreateEnvironmentManagementSettingResponse

Represents the response object for APIs in this service.

Name Type Description
errors

ErrorResponse

nextLink

string

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

objectResult

string

Gets or sets the Id of the entity being created in the response

responseMessage

string

Gets or sets the error message.

ErrorDetail

Name Type Description
code

string

message

string

target

string

value

string

ErrorResponse

Name Type Description
code

string

details

ErrorDetail[]

message

string