Allocate IPv4 from API?

Hello,

Is it possible to somehow allocate ipv4 to an app without using the CLI?

You’ll need to use graphql: GraphQL Playground

This is the mutation I use to allocate an IP address:

mutation ($input: AllocateIPAddressInput!) {
  allocateIpAddress(input: $input) {
    ipAddress {
      id
      address
      type
      region
      createdAt
    }
  }
}

The playground linked above has a “Docs” section you can open up on the right-hand side to give you the full payloads and queries/mutations.

type AllocateIPAddressInput {
  clientMutationId: String
  appId: ID!
  type: IPAddressType!
  organizationId: ID
  region: String
  network: String
  serviceName: String
}

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.