Loading...
 

Reboot Bare Metal Device


HTTP VerbPUT
URI Template/baremetaldevice/{deviceID}/reboot
MIME Typeapplication/vnd.pncp.v.1.0+json onwards
Normal HTTP Response Code202 Accepted
Invoked ByResellers can invoke this for bare metal devices found in their own account as well as any other account they own. End-clients can invoke this for bare metal devices in their account only.
Response ModeAsynchronous.

Sample Request

PUT /pncp-external-api-rest/baremetaldevice/542/reboot HTTP/1.1
Accept: application/vnd.pncp.v.5.0+json
Authorization: PNCP AmQseqTmziqOD1UPhxcxQudHjvqQf8bO3FOWR8DNXwU=
Content-Length: 0
User-Agent: Jakarta Commons-HttpClient/3.1
Host: YOUR_API_URL

Sample Response

HTTP/1.1 202 Accepted
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: application/vnd.pncp.v.5.0+json
Transfer-Encoding: chunked
Date: Thu, 26 Jan 2012 11:57:45 GMT

{
   "resourceURL":"/task/ae7e2066-99b9-4733-8b3a-220cd5cab608"
}