Share via


Websites - Convert Trial To Production

Convert a trial Power Pages website to production.
Convert a trial website to a production website.

POST https://api.powerplatform.com/powerpages/environments/{environmentId}/websites/{id}/convertToProduction?api-version=2022-03-01-preview

URI Parameters

Name In Required Type Description
environmentId
path True

string

The environment ID.

id
path True

string

Website unique identifier (ID).

api-version
query True

string

The API version.

Request Body

Name Type Description
EnableCDN

boolean

Enable Content Delivery Network (CDN) for the website

EnableWAF

boolean

Enable Web Application Firewall (WAF) for the website

UseDynamics365PortalAddOnLicense

boolean

Use Dynamics 365 Portal Add-On License for the website

Responses

Name Type Description
202 Accepted

Accepted

Headers

Operation-Location: string

400 Bad Request

ErrorMessage

Bad Request

401 Unauthorized

ErrorMessage

Unauthorized

404 Not Found

ErrorMessage

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
ConvertTrialToProductionRequest
Details
Error
ErrorMessage

ConvertTrialToProductionRequest

Name Type Default value Description
EnableCDN

boolean

False

Enable Content Delivery Network (CDN) for the website

EnableWAF

boolean

False

Enable Web Application Firewall (WAF) for the website

UseDynamics365PortalAddOnLicense

boolean

False

Use Dynamics 365 Portal Add-On License for the website

Details

Name Type Description
code

string

Error code

message

string

Error message

target

string

Target parameter

Error

Name Type Description
code

string

Error code

details

Details[]

message

string

Error message

target

string

Target parameter

ErrorMessage

Name Type Description
error

Error