Environment Install Wordpress
POST
/v1/environments/{id}/install-wordpressInstall wordpress on an environment. Warning: this can only be called on empty environments, if it contains files, the installation will fail.
Request
Path Params
id
string
required
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Body Params application/json
data
object
required
attributes
object
required
Example
{
"data": {
"attributes": {
"dbName": "wpsite",
"dbUser": "wpsite",
"dbPassword": "UdauuhAUDHIuisAD23"
}
}
}
Request samples
Responses
OK(200)
Parameter Error(422)
HTTP Code: 200
Content Type : Rawtext/plain
Example
{
"data": {
"id": "a503d93d-eb5c-4820-9013-52d3ddf97a20",
"type": "wordpress",
"attributes": {
"url": "https://example.com",
"title": "WordPress Site",
"adminUser": "admin.user",
"adminEmail": "admin@example.com",
"adminPassword": "UvALYwQdvpaDmq59e6T7sOgGqQz5fcmVV2"
}
}
}
Modified at 4 months ago