---
title: "Update a connection."
method: PUT
path: "/v1/connections/{id}"
tags: ["connectionManagement"]
---

# Update a connection.

`PUT /v1/connections/{id}`

Update an existing connection.

## Path parameters

- `id` string, required

## Request body

- ConnectionDefinition
  - `type` string, required — Type of connection. Valid values are `WebhookDefinition`, `ServiceNowDefinition`.
  - `name` string, required — Name of the connection.
  - `description` string — Description of the connection.

## Response `200`

The connection was successfully modified.

- Connection
  - `type` string, required — Type of connection. Valid values are `WebhookConnection`, `ServiceNowConnection`.
  - `id` string, required — Unique identifier for the connection.
  - `name` string, required — Name of the connection.
  - `description` string, required — Description of the connection.
  - `createdAt` string, date-time, required — Creation timestamp in UTC in [RFC3339](https://tools.ietf.org/html/rfc3339) format.
  - `createdBy` string, required — Identifier of the user who created the resource.
  - `modifiedAt` string, date-time, required — Last modification timestamp in UTC.
  - `modifiedBy` string, required — Identifier of the user who last modified the resource.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
