Skip to end of metadata
Go to start of metadata

Description

This API Call lets you reboot a running Server.

Request Parameters

NameDescriptionRequired
 ServerID Server ID of the Server that should be rebooted.

Yes 

Response Elements

Success Response

NameDescriptionPresent
ResultRequest Result On Success

Error Response

NameDescriptionPresent

Error.Message

A Description of the error that occurred.On Error

Request / Response Semantics

Result

The Result Response Element is always equal to 1.

Error Conditions

This API Call may raise an error if you attempt to reboot a Server that does not exist.

Related API Calls

The ServerLaunch API Call will return the ServerID of the Server that was just launched, and the FarmGetDetails API Call will return the ServerID's of the Servers running for the Farm (if any).

Sample Request

https://api.scalr.net/?Action=ServerReboot
&Version=2.0.0
&ServerID=dbc3e429-ea17-4503-abae-7862f8c467e1
&KeyID=<Your Scalr API Key ID>
&TimeStamp=2009-06-19T05%3A13%3A00.000Z
&Signature=<URLEncode(Base64Encode(Signature))>

Sample Responses

Success Response

<?xml version="1.0"?>  
<ServerRebootResponse>  
    <TransactionID>dbc3e429-ea17-4503-abae-7862f8c467e1</TransactionID>  
    <Result>1</Result>      
</ServerRebootResponse> 

Error Response

<?xml version="1.0"?>  
<Error>
  <TransactionID>b846ad33-60e4-43e3-9af3-edf56e704043</TransactionID>
  <Message>Server ID#955568a2-c250-4f12-8a23-d28fe4862242 not found in database</Message>
</Error>

Changelog

API versionChanges
 2.0.0Initial version 
  • No labels