Pureport API
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.GoClientCodegen
Put the package under your project folder and add the following in import:
$ go get github.com/pureport/pureport-sdk-go@<version>
```golang
import "github.com/pureport/pureport-sdk-go/pureport/client"
All URIs are relative to https://api.pureport.com
Class | Method | HTTP request | Description |
---|---|---|---|
AccountConsentApi | Consent | Post /accounts/{accountId}/consent | Consent to Master Service Agreement and Acceptable Use Policy for this account |
AccountConsentApi | HasConsent | Get /accounts/{accountId}/consent | Account consent to Master Service Agreement and Acceptable Use Policy |
AccountInvitationsApi | AcceptAllInvites | Post /invites | Accept all invites for the current user |
AccountInvitationsApi | Delete7 | Delete /accounts/{accountId}/invites/{inviteId} | Delete account invite |
AccountInvitationsApi | FindAccountInvites | Get /accounts/{accountId}/invites | List account invites |
AccountInvitationsApi | Get9 | Get /accounts/{accountId}/invites/{inviteId} | Get account invite |
AccountInvitationsApi | InviteAccount | Post /accounts/{accountId}/invites | Invite account member |
AccountInvitationsApi | Update7 | Put /accounts/{accountId}/invites/{inviteId} | Update account invite |
AccountMembersApi | AddAccountMember | Post /accounts/{accountId}/members | Add account member |
AccountMembersApi | Delete3 | Delete /accounts/{accountId}/members/{userId} | Delete account member |
AccountMembersApi | FindAccountMembers | Get /accounts/{accountId}/members | List account members |
AccountMembersApi | Get4 | Get /accounts/{accountId}/members/{userId} | Get account member |
AccountMembersApi | Update3 | Put /accounts/{accountId}/members/{userId} | Update account member |
AccountRolesApi | CreateRole | Post /accounts/{accountId}/roles | Add account role |
AccountRolesApi | Delete5 | Delete /accounts/{accountId}/roles/{roleId} | Delete role |
AccountRolesApi | FindAllRoles | Get /accounts/{accountId}/roles | List account roles |
AccountRolesApi | Get6 | Get /accounts/{accountId}/roles/{roleId} | Get role details |
AccountRolesApi | Update5 | Put /accounts/{accountId}/roles/{roleId} | Update role |
AccountsApi | CreateAccount | Post /accounts | Add new account |
AccountsApi | Delete2 | Delete /accounts/{accountId} | Delete account |
AccountsApi | FindAllAccounts | Get /accounts | List accounts |
AccountsApi | Get3 | Get /accounts/{accountId} | Get account details |
AccountsApi | GetAccountPermissions | Get /accounts/{accountId}/permissions | Get permissions for account |
AccountsApi | Update2 | Put /accounts/{accountId} | Update account |
ApikeysApi | CreateApiKey | Post /accounts/{accountId}/apikeys | Create a new API key |
ApikeysApi | Delete4 | Delete /accounts/{accountId}/apikeys/{key} | Delete API Key |
ApikeysApi | FindApiKeys | Get /accounts/{accountId}/apikeys | List API keys for an account |
ApikeysApi | Get5 | Get /accounts/{accountId}/apikeys/{key} | Get API Key details |
ApikeysApi | Login | Post /login | Login with an API Key |
ApikeysApi | Update4 | Put /accounts/{accountId}/apikeys/{key} | Update API Key |
BillingApi | AddPaymentInformation | Post /accounts/{accountId}/billing | Add payment method |
BillingApi | DeletePaymentInformation | Delete /accounts/{accountId}/billing | Delete payment method |
BillingApi | FindBillingForAccount | Get /accounts/{accountId}/billing | Payment method for account |
BillingApi | IsBillingConfiguredForAccount | Get /accounts/{accountId}/billing/configured | Payment method configured for account |
BillingApi | UpdatePaymentInformation | Put /accounts/{accountId}/billing | Update payment method |
CloudRegionsApi | Get10 | Get /cloudRegions/{cloudRegionId} | Get cloud region details |
CloudRegionsApi | GetCloudRegions | Get /cloudRegions | List cloud regions |
CloudServicesApi | Get1 | Get /cloudServices/{cloudServiceId} | Get cloud service details |
CloudServicesApi | GetCloudServices | Get /cloudServices | List cloud services |
ConnectionsApi | AddConnection | Post /networks/{networkId}/connections | Add new connection |
ConnectionsApi | Delete9 | Delete /connections/{connectionId} | Delete connection |
ConnectionsApi | FindConnections | Get /accounts/{accountId}/connections | List connections across all networks for the account |
ConnectionsApi | Get11 | Get /connections/{connectionId} | Get connection details |
ConnectionsApi | GetConnections | Get /networks/{networkId}/connections | List network connections |
ConnectionsApi | Update9 | Put /connections/{connectionId} | Update connection |
LocationsApi | FindLocations | Get /locations | List locations |
LocationsApi | Get12 | Get /locations/{locationId} | Get location details |
NetworksApi | AddConnection | Post /networks/{networkId}/connections | Add new connection |
NetworksApi | AddNetwork | Post /accounts/{accountId}/networks | Add new network |
NetworksApi | Delete11 | Delete /networks/{networkId} | Delete network |
NetworksApi | FindNetworks | Get /accounts/{accountId}/networks | List networks |
NetworksApi | Get13 | Get /networks/{networkId} | Get network details |
NetworksApi | GetConnections | Get /networks/{networkId}/connections | List network connections |
NetworksApi | Update11 | Put /networks/{networkId} | Update network |
OptionsApi | GetOptions | Get /options | Get available options |
SupportedConnectionsApi | Get17 | Get /supportedConnections/{supportedConnectionId} | Get supported connection details |
SupportedConnectionsApi | GetSupportedConnections | Get /supportedConnections | List supported connections |
UsersApi | Get2 | Get /users/{userId} | Get user details |
UsersApi | Update1 | Put /users/{userId} | Update user |
- Account
- AccountBilling
- AccountConsent
- AccountInvite
- AccountMember
- ApiKey
- BgpConfig
- BillingPlan
- CloudRegion
- CloudService
- Connection
- CustomerNetwork
- Gateway
- GeoCoordinates
- Ikev1Config
- Ikev1EspConfig
- Ikev1IkeConfig
- Ikev2Config
- Ikev2EspConfig
- Ikev2IkeConfig
- Link
- Location
- LocationLinkConnection
- LoginRequest
- NatConfig
- NatMapping
- Network
- NetworkInvoice
- Option
- PeeringConfiguration
- PhysicalAddress
- Pod
- ProviderLink
- ProviderVlan
- PublicPeeringBlock
- PublicPeeringPoolStats
- ResourceLimit
- Role
- SupportedConnection
- TrafficSelectorMapping
- User
- VpnAuthConfig
- AwsDirectConnectConnection
- AzureExpressRouteConnection
- DummyConnection
- GoogleCloudInterconnectConnection
- PskAuthConfig
- SiteIpSecVpnConnection
- StandardGateway
- VpnGateway
Endpoints do not require authorization.