#import "../fragments/integration_item.fragment.graphql"

mutation updatePrometheusIntegration(
  $id: IntegrationsPrometheusID!
  $apiUrl: String!
  $active: Boolean!
) {
  prometheusIntegrationUpdate(input: { id: $id, apiUrl: $apiUrl, active: $active }) {
    errors
    integration {
      ...IntegrationItem
    }
  }
}
