We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b73547 commit 85362dbCopy full SHA for 85362db
src/Models/Servers/Server.php
@@ -205,7 +205,7 @@ public function shutdown(): Action
205
*/
206
public function powerOff(): Action
207
{
208
- $response = $this->httpClient->post($this->replaceServerIdInUri('servers/{id}/actions/powerOff'));
+ $response = $this->httpClient->post($this->replaceServerIdInUri('servers/{id}/actions/poweroff'));
209
if (! HetznerAPIClient::hasError($response)) {
210
return Action::parse(json_decode((string) $response->getBody())->action);
211
}
0 commit comments