Skip to main content

Create console session

POST 

/virtual_machines/virtual_machine/console_sessions

Creates a new console session which can be opened in a browser

Scopes

  • virtual_machines
  • virtual_machines:console

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    virtual_machine

    object

    required

    All 'virtual_machine[]' params are mutually exclusive, only one can be provided.

    id string
    fqdn string

Responses

Creates a new console session which can be opened in a browser

Schema

    console_session

    object

    required

    id string
    url string
    expires_at integer

    virtual_machine

    object

    id string
    name string
    hostname string
    fqdn string
    state VirtualMachineStateEnum (string)

    Possible values: [stopped, failed, started, starting, allocated, allocating, resetting, migrating, stopping, shutting_down, transferring, orphaned]

Loading...