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 | 
|---|---|---|---|---|
| 
						 environment 
					 | 
					path | True | 
			 string  | 
					
						 The environment ID.  | 
				
| 
						 api-version 
					 | 
					query | True | 
			 string  | 
					
						 The API version.  | 
				
Responses
| Name | Type | Description | 
|---|---|---|
| 200 OK | 
		 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 | 
		 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 | 
		 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 | 
|---|---|
| 
							Create | 
						
							 Represents the response object for APIs in this service.  | 
					
| 
							Error | 
						|
| 
							Error | 
						
CreateEnvironmentManagementSettingResponse    
			
			Represents the response object for APIs in this service.
| Name | Type | Description | 
|---|---|---|
| errors | ||
| nextLink | 
			 string (uri)  | 
	
		 Gets or sets the next link 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 | ||
| message | 
			 string  |