Skip to main content
PUT
Create a new revision of a preset

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
slug
string
required
Maximum string length: 120
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
name
string
required
Required string length: 1 - 120
kind
string
required
Allowed value: "vm"
settings
object
required
expectedRevision
integer
Required range: x <= 9007199254740991

Response

Preset

preset
object
required