Skip to main content
Create Server mutation.

Operation details

FieldValue
NamecreateServer
GroupServers
TypeMutation
SignaturecreateServer(input: CreateServerInput!): Server!

Playground

Query

Query
mutation CreateServer($input: CreateServerInput!) {
  createServer(input: $input) {
    id
    status
    createdAt
    updatedAt
    environmentIds
    hostname
  }
}

Variables

Variables
{
  "input": {
    "projectId": "",
    "environmentId": ""
  }
}