Scaleway logo
Elastic Metal API

Server actions allows you to start, stop or reboot your servers.


Reboot an Elastic Metal server

POST
https://api.scaleway.com
/baremetal/v1/zones/{zone}/servers/{server_id}/reboot

Reboot the Elastic Metal server associated with the ID, use the boot_type rescue to reboot the server in rescue mode.

Reboot an Elastic Metal server › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
nl-ams-1
nl-ams-2
pl-waw-2
pl-waw-3
server_id
​string · required

ID of the server to reboot.

Reboot an Elastic Metal server › Request Body

The type of boot.

Enum values:
unknown_boot_type
normal
rescue
Default: unknown_boot_type
ssh_key_ids
​string[]

Additional SSH public key IDs to configure on rescue image.

Reboot an Elastic Metal server › Responses

200
id
​string

ID of the server.

organization_id
​string

Organization ID the server is attached to.

project_id
​string

Project ID the server is attached to.

name
​string

Name of the server.

description
​string

Description of the server.

updated_at
​string | null · date-time

Last modification date of the server. (RFC 3339 format)

created_at
​string | null · date-time

Creation date of the server. (RFC 3339 format)

Status of the server.

Enum values:
unknown
delivering
ready
stopping
stopped
starting
error
deleting
Default: unknown
offer_id
​string

Offer ID of the server.

offer_name
​string

Offer name of the server.

tags
​string[]

Array of custom tags attached to the server.

Array of IPs attached to the server.

domain
​string

Domain of the server.

Boot type of the server.

Enum values:
unknown_boot_type
normal
rescue
Default: unknown_boot_type
zone
​string

Zone in which is the server located.

Configuration of the installation.

Status of server ping.

Enum values:
ping_status_unknown
ping_status_up
ping_status_down
Default: ping_status_unknown

Options enabled on the server.

Configuration of rescue boot.

protected
​boolean

If enabled, the server can not be deleted.

Optional configuration data passed to cloud-init.


Start an Elastic Metal server

POST
https://api.scaleway.com
/baremetal/v1/zones/{zone}/servers/{server_id}/start

Start the server associated with the ID.

Start an Elastic Metal server › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
nl-ams-1
nl-ams-2
pl-waw-2
pl-waw-3
server_id
​string · required

ID of the server to start.

Start an Elastic Metal server › Request Body

The type of boot.

Enum values:
unknown_boot_type
normal
rescue
Default: unknown_boot_type
ssh_key_ids
​string[]

Additional SSH public key IDs to configure on rescue image.

Start an Elastic Metal server › Responses

200
id
​string

ID of the server.

organization_id
​string

Organization ID the server is attached to.

project_id
​string

Project ID the server is attached to.

name
​string

Name of the server.

description
​string

Description of the server.

updated_at
​string | null · date-time

Last modification date of the server. (RFC 3339 format)

created_at
​string | null · date-time

Creation date of the server. (RFC 3339 format)

Status of the server.

Enum values:
unknown
delivering
ready
stopping
stopped
starting
error
deleting
Default: unknown
offer_id
​string

Offer ID of the server.

offer_name
​string

Offer name of the server.

tags
​string[]

Array of custom tags attached to the server.

Array of IPs attached to the server.

domain
​string

Domain of the server.

Boot type of the server.

Enum values:
unknown_boot_type
normal
rescue
Default: unknown_boot_type
zone
​string

Zone in which is the server located.

Configuration of the installation.

Status of server ping.

Enum values:
ping_status_unknown
ping_status_up
ping_status_down
Default: ping_status_unknown

Options enabled on the server.

Configuration of rescue boot.

protected
​boolean

If enabled, the server can not be deleted.

Optional configuration data passed to cloud-init.


Stop an Elastic Metal server

POST
https://api.scaleway.com
/baremetal/v1/zones/{zone}/servers/{server_id}/stop

Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server.

Stop an Elastic Metal server › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
nl-ams-1
nl-ams-2
pl-waw-2
pl-waw-3
server_id
​string · required

ID of the server to stop.

Stop an Elastic Metal server › Request Body

Stop an Elastic Metal server › Responses

200
id
​string

ID of the server.

organization_id
​string

Organization ID the server is attached to.

project_id
​string

Project ID the server is attached to.

name
​string

Name of the server.

description
​string

Description of the server.

updated_at
​string | null · date-time

Last modification date of the server. (RFC 3339 format)

created_at
​string | null · date-time

Creation date of the server. (RFC 3339 format)

Status of the server.

Enum values:
unknown
delivering
ready
stopping
stopped
starting
error
deleting
Default: unknown
offer_id
​string

Offer ID of the server.

offer_name
​string

Offer name of the server.

tags
​string[]

Array of custom tags attached to the server.

Array of IPs attached to the server.

domain
​string

Domain of the server.

Boot type of the server.

Enum values:
unknown_boot_type
normal
rescue
Default: unknown_boot_type
zone
​string

Zone in which is the server located.

Configuration of the installation.

Status of server ping.

Enum values:
ping_status_unknown
ping_status_up
ping_status_down
Default: ping_status_unknown

Options enabled on the server.

Configuration of rescue boot.

protected
​boolean

If enabled, the server can not be deleted.

Optional configuration data passed to cloud-init.