setEnabled
|
This endpoint requires Authentication. |
Allows to enable or disable a Constructor, Assembler, Manufacturer, Power Generators, (Priority) Power Switch.
Request Body
All fields are mandatory. An array of objects can be passed to update supported buildings simultaneously.
| Name | Type | Required? | Description |
|---|---|---|---|
ID |
String |
Yes |
ID of the Buildable |
status |
Boolean |
No |
Factory Status (true = Enabled, false = Disabled). |
Response Body
All fields are mandatory, the updated fields and the ID field are included in the response body.
| Name | Type | Description |
|---|---|---|
ID |
String |
ID of the Buildable |
Status |
Boolean |
Updated Status (true = Enabled, false = Disabled). |