---
title: "Update monitoring instance"
method: PATCH
path: "/namespaces/{namespace}/monitoring-instances/{name}"
tags: ["Monitoring"]
---

# Update monitoring instance

`PATCH /namespaces/{namespace}/monitoring-instances/{name}`

This API updates the monitoring instance specified by the `name`.

## Path parameters

- `name` string, required
- `namespace` string, required

## Request body

- MonitoringInstanceUpdateParams — Monitoring instance information
  - `type` 'pmm'
  - `url` string
  - `allowedNamespaces` string[] — List of namespaces allowed to use this monitoring instance
  - `verifyTLS` boolean — VerifyTLS is set to ensure TLS/SSL verification.
  - `pmm` object
    - `user` string
    - `password` string
    - `apiKey` string

## Response `200`

Successful operation

- MonitoringInstance — Monitoring instance information
  - `type` 'pmm'
  - `url` string
  - `allowedNamespaces` string[] — List of namespaces allowed to use this monitoring instance
  - `verifyTLS` boolean — VerifyTLS is set to ensure TLS/SSL verification.
  - `name` string — A user defined string name of the storage in the DNS name format https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names
  - `namespace` string

## Other responses

- `400` — Unsuccessful operation
- `404` — Monitoring instance not found
- `500` — Internal server error

---

[API](https://skmtc.net/openeverest/apis/openeverest-schema.md) · [All operations](https://skmtc.net/openeverest/apis/openeverest-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openeverest/openeverest-schema/versions/46b19e13670b/schema)
