Mutations

Overview

GraphQL mutations are used to create, update, or delete data through the Meter API. Like queries, you specify exactly which fields you want returned after the mutation completes.

Every mutation listed below accepts typed arguments and returns a typed response. For example, actionCaptivePortalEntry accepts a action and entryUUID argument and returns a CaptivePortalEntry with only the fields you select. Arguments marked with ! are required.

actionCaptivePortalEntry

Performs an action on a captive portal entry. Returns: CaptivePortalEntry!

actionCaptivePortalEntry(
  action: CaptivePortalEntryAction!
  entryUUID: UUID!
): CaptivePortalEntry!
ArgumentTypeDescription
actionCaptivePortalEntryAction!The action to perform on the captive portal entry.
entryUUIDUUID!The UUID of the captive portal entry to act on.

addNetworksToAutoVPNGroup

Adds networks to an Auto VPN group. Returns: [AutoVPNMember!]!

addNetworksToAutoVPNGroup(
  groupUUID: UUID!
  inputs: [AddNetworkToAutoVPNGroupInput!]!
): [AutoVPNMember!]!
ArgumentTypeDescription
groupUUIDUUID!Unique identifier of the AutoVPN group.
inputs[AddNetworkToAutoVPNGroupInput!]!List of input data for adding networks to the AutoVPN group.

createApplicationDNSFirewallRule

Creates a new application DNS firewall rule for a DHCP rule. Returns: ApplicationDNSFirewallRule!

createApplicationDNSFirewallRule(
  dhcpRuleUUID: UUID
  input: CreateApplicationDNSFirewallRuleInput!
  networkUUID: UUID
): ApplicationDNSFirewallRule!
ArgumentTypeDescription
dhcpRuleUUIDUUIDThe UUID of the DHCP rule to associate with the new DNS firewall rule.
inputCreateApplicationDNSFirewallRuleInput!The input data for creating the DNS firewall rule.
networkUUIDUUIDThe UUID of the network to associate with the new DNS firewall rule.

createClientVPNClient

Creates a Client VPN client on a Client VPN server. Returns: ClientVPNClient!

createClientVPNClient(
  input: CreateClientVPNClientInput!
  serverUUID: UUID!
): ClientVPNClient!
ArgumentTypeDescription
inputCreateClientVPNClientInput!Input parameters for creating a Client VPN client.
serverUUIDUUID!Unique identifier of the Client VPN server on which to create the client.

createFirewallRule

Create a new firewall rule. Returns: FirewallRule!

createFirewallRule(
  input: CreateFirewallRuleInput!
  networkUUID: UUID!
): FirewallRule!
ArgumentTypeDescription
inputCreateFirewallRuleInput!Input data for creating the firewall rule.
networkUUIDUUID!UUID of the network where the firewall rule will be created.

createIDSIPSConfig

Creates an IDS/IPS config for a network. There can be a single config per network; this is a no-op if one already exists. Returns: IDSIPSConfig!

createIDSIPSConfig(
  input: CreateIDSIPSConfigInput!
  networkUUID: UUID!
): IDSIPSConfig!
ArgumentTypeDescription
inputCreateIDSIPSConfigInput!Input parameters to create the IDS/IPS config.
networkUUIDUUID!UUID of the network to create the config for.

createIDSIPSCustomRule

Create a custom rule for an IDS configuration. Returns: IDSIPSCustomRule!

createIDSIPSCustomRule(
  idsIPSConfigUUID: UUID!
  input: CreateIDSIPSCustomRuleInput!
): IDSIPSCustomRule!
ArgumentTypeDescription
idsIPSConfigUUIDUUID!Unique identifier of the IDS/IPS configuration.
inputCreateIDSIPSCustomRuleInput!The input data for creating the custom rule.

createSSID

Create an SSID for a network. Returns: SSID!

createSSID(
  input: CreateSSIDInput!
  networkUUID: UUID!
): SSID!
ArgumentTypeDescription
inputCreateSSIDInput!Input fields for creating the SSID.
networkUUIDUUID!UUID of the network where the SSID will be created.

createSupportCase

Creates a support case that will be published to inbox. For machine principals adding collaborators is restricted to the domain that is configured for your account. If this is not set please contact our support team and we can configure your desired domain. Returns: CreateSupportCaseResponse!

createSupportCase(
  input: CreateSupportCaseInput!
): CreateSupportCaseResponse!
ArgumentTypeDescription
inputCreateSupportCaseInput!The input fields for creating the new case.

createSupportCaseAttachmentUploadUrl

Generates a pre-signed URL for uploading a file that will be attached to a support case comment. Returns: FileUploadPayload!

createSupportCaseAttachmentUploadUrl(
  fileExtension: String!
  supportCaseUUID: UUID!
): FileUploadPayload!
ArgumentTypeDescription
fileExtensionString!The extension of the file being uploaded (e.g., 'jpg', 'png', 'pdf').
supportCaseUUIDUUID!The UUID of the support case the attachment will belong to.

createSupportCaseComment

Creates a comment on a support case. Returns: SupportCaseComment!

createSupportCaseComment(
  input: CreateSupportCaseCommentInput!
  supportCaseUUID: UUID!
): SupportCaseComment!
ArgumentTypeDescription
inputCreateSupportCaseCommentInput!the input for creating a support case comment.
supportCaseUUIDUUID!The UUID of the support case to leave the comment on.

createSupportProvider

Creates a support provider owned by a company. Returns: SupportProvider!

createSupportProvider(
  companyUUID: UUID!
  input: CreateSupportProviderInput
): SupportProvider!
ArgumentTypeDescription
companyUUIDUUID!The UUID of the company that will own the support provider.
inputCreateSupportProviderInputThe input to create a support provider

createVLAN

Create a new VLAN. Returns: VLAN!

createVLAN(
  input: CreateVLANInput!
  networkUUID: UUID!
): VLAN!
ArgumentTypeDescription
inputCreateVLANInput!The input data for creating the VLAN.
networkUUIDUUID!The UUID of the network where the VLAN will be created.

deleteAlertCompanySubscriptions

Delete alert company subscriptions. Returns: [AlertCompanySubscription!]!

deleteAlertCompanySubscriptions(
  UUIDs: [UUID!]!
): [AlertCompanySubscription!]!
ArgumentTypeDescription
UUIDs[UUID!]!The UUIDs of the alert subscriptions to delete.

deleteAlertReceiverWithTargets

Deletes an alert receiver and all of its targets. Returns: AlertReceiver!

deleteAlertReceiverWithTargets(
  alertReceiverUUID: UUID!
): AlertReceiver!
ArgumentTypeDescription
alertReceiverUUIDUUID!Unique identifier of the alert receiver to delete.

deleteAlertTargetWebhook

Deletes a webhook alert target specified by its UUID. Returns: AlertTargetWebhook!

deleteAlertTargetWebhook(
  UUID: UUID!
): AlertTargetWebhook!
ArgumentTypeDescription
UUIDUUID!The UUID of the webhook alert target to delete.

deleteApplicationDNSFirewallRule

Deletes an application DNS firewall rule. Returns: ApplicationDNSFirewallRule!

deleteApplicationDNSFirewallRule(
  UUID: UUID!
): ApplicationDNSFirewallRule!
ArgumentTypeDescription
UUIDUUID!The UUID of the DNS firewall rule to delete.

deleteAutoVPNMember

Removes a network from an Auto VPN group. Returns: AutoVPNMember!

deleteAutoVPNMember(
  memberUUID: UUID!
): AutoVPNMember!
ArgumentTypeDescription
memberUUIDUUID!Unique identifier of the member to remove.

deleteFirewallRule

Delete a firewall rule. Returns: FirewallRule!

deleteFirewallRule(
  UUID: UUID!
): FirewallRule!
ArgumentTypeDescription
UUIDUUID!UUID of the firewall rule to delete.

deleteIDSIPSConfig

Deletes the IDS/IPS config for a network. Returns: IDSIPSConfig!

deleteIDSIPSConfig(
  UUID: UUID!
): IDSIPSConfig!
ArgumentTypeDescription
UUIDUUID!UUID of the IDS/IPS config to delete.

deleteIDSIPSCustomRule

Delete a custom rule for an IDS configuration. Returns: IDSIPSCustomRule!

deleteIDSIPSCustomRule(
  UUID: UUID!
): IDSIPSCustomRule!
ArgumentTypeDescription
UUIDUUID!Unique identifier of the custom rule to delete.

deleteSSID

Delete an SSID. Returns: SSID!

deleteSSID(
  uuid: UUID!
): SSID!
ArgumentTypeDescription
uuidUUID!UUID of the SSID to delete.

deleteVLAN

Delete a VLAN. Returns: Boolean!

deleteVLAN(
  UUID: UUID!
): Boolean!
ArgumentTypeDescription
UUIDUUID!The UUID of the VLAN to delete.

revokeOwnAPIKey

Revoke the API key making this request, along with all of its tokens. Returns: PublicAPIKey!

revokeOwnAPIKey(
  companyUUID: UUID!
): PublicAPIKey!
ArgumentTypeDescription
companyUUIDUUID!The UUID of the company that owns the API key.

updateApplicationDNSFirewallRule

Updates an existing application DNS firewall rule. Returns: ApplicationDNSFirewallRule!

updateApplicationDNSFirewallRule(
  UUID: UUID!
  input: UpdateApplicationDNSFirewallRuleInput!
): ApplicationDNSFirewallRule!
ArgumentTypeDescription
UUIDUUID!The UUID of the DNS firewall rule to update.
inputUpdateApplicationDNSFirewallRuleInput!The input data for updating the DNS firewall rule.

updateAutoVPNMember

Updates an Auto VPN Member. Returns: AutoVPNMember!

updateAutoVPNMember(
  UUID: UUID!
  input: UpdateAutoVPNMemberInput!
): AutoVPNMember!
ArgumentTypeDescription
UUIDUUID!Unique identifier of the AutoVPN Member to update.
inputUpdateAutoVPNMemberInput!Input data for updating the AutoVPN Member.

updateFirewallRule

Update a firewall rule. Returns: FirewallRule!

updateFirewallRule(
  UUID: UUID!
  input: UpdateFirewallRuleInput!
): FirewallRule!
ArgumentTypeDescription
UUIDUUID!UUID of the firewall rule to update.
inputUpdateFirewallRuleInput!Input data for updating the firewall rule.

updateIDSIPSConfig

Updates the IDS/IPS config for a network. Returns: IDSIPSConfig!

updateIDSIPSConfig(
  UUID: UUID!
  input: UpdateIDSIPSConfigInput!
): IDSIPSConfig!
ArgumentTypeDescription
UUIDUUID!UUID of the IDS/IPS config to update.
inputUpdateIDSIPSConfigInput!Input parameters to update the IDS/IPS config.

updateIDSIPSCustomRule

Update a custom rule for an IDS configuration. Returns: IDSIPSCustomRule!

updateIDSIPSCustomRule(
  input: UpdateIDSIPSCustomRuleInput!
  ruleUUID: UUID!
): IDSIPSCustomRule!
ArgumentTypeDescription
inputUpdateIDSIPSCustomRuleInput!The input data for updating the custom rule.
ruleUUIDUUID!Unique identifier of the custom rule to update.

updateOutletInterface

Update an outlet interface. Returns: OutletInterface!

updateOutletInterface(
  UUID: UUID!
  input: UpdateOutletInterfaceInput!
): OutletInterface!
ArgumentTypeDescription
UUIDUUID!UUID of the outlet interface to update.
inputUpdateOutletInterfaceInput!Fields to update on the outlet interface.

updateSSID

Update an SSID. Returns: SSID!

updateSSID(
  input: UpdateSSIDInput!
  uuid: UUID!
): SSID!
ArgumentTypeDescription
inputUpdateSSIDInput!Input fields for updating the SSID.
uuidUUID!UUID of the SSID to update.

updateSupportCases

Update support cases. Returns: [SupportCase!]!

updateSupportCases(
  input: UpdateSupportCasesInput!
  uuids: [UUID!]
): [SupportCase!]!
ArgumentTypeDescription
inputUpdateSupportCasesInput!The bulk update parameters for the selected cases.
uuids[UUID!]UUIDs to update.

updateSupportProvider

Updates a support provider owned by a company. Returns: SupportProvider!

updateSupportProvider(
  input: UpdateSupportProviderInput!
  uuid: UUID!
): SupportProvider!
ArgumentTypeDescription
inputUpdateSupportProviderInput!The input of the fields to update the support provider with.
uuidUUID!The UUID of the company that will own the support provider.

updateVLAN

Update an existing VLAN. Returns: VLAN!

updateVLAN(
  UUID: UUID!
  input: UpdateVLANInput!
): VLAN!
ArgumentTypeDescription
UUIDUUID!The UUID of the VLAN to update.
inputUpdateVLANInput!The input data for updating the VLAN.

Need help?

If you run into any issues or have questions, please reach out to our Support Engineering team by opening a ticket via the Dashboard: https://dashboard.meter.com/support

Was this helpful?