Skip to main content
POST
Create bare-metal machine

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <credential> to https://customer-api.mountthor.com. People use the session that mthr login stores (a token starting mt_session_, valid for up to 12 hours). Automation uses a service-account credential (starting mt_sa_v1_, valid for 90 days) from Create credential. Each operation names the permission it needs. Service accounts hold permissions through custom roles, and some operations refuse them; those operations say so.

Body

application/json
machineClass
string
required

A machine class name from List machine classes, for example m4-24g.

name
string

Optional. A name is generated when you omit it.

Response

The bare-metal machine was accepted.

bareMetalMachine
object

A bare-metal Mac.