---
title: "Update a provider"
method: PUT
path: "/providers/{id}"
tags: ["Providers"]
---

# Update a provider

`PUT /providers/{id}`

Replaces a provider's configuration in full, clearing any field you omit rather than merging it. Send the complete settings object.

## Path parameters

- `id` string, required

## Request body

- ProvidersUpdateRequest — Request body for replacing an existing provider configuration. The `provider` key is required because it determines which provider-specific settings schema is validated against. Changing the provider type for an existing configuration is not supported. All other fields are optional — omitted fields are cleared from the stored configuration (this is a full replacement, not a partial merge).
  - `provider` string, required — The provider key identifying the type. Required on every request because it selects the provider-specific settings schema for validation.
  - `title` string — Updated display title.
  - `alias` string — Updated alias. Omit to clear.
  - `settings` object — Provider-specific settings (snake_case keys). Replaces the full settings object — omitted settings fields are removed. Use the catalog endpoint to check required fields.

## Response `200`

- Provider — A configured provider in the workspace.
  - `id` string, required — A unique identifier for the provider configuration.
  - `title` string, required — Display title. Defaults to "Default Configuration" when not explicitly set.
  - `provider` string, required — The provider key (e.g. "sendgrid", "twilio", "slack").
  - `alias` string — Optional alias for this configuration.
  - `settings` object, required — Provider-specific settings (snake_case keys on the wire).
  - `created` integer, required — Unix timestamp (ms) of when the provider was created.
  - `updated` integer, nullable — Unix timestamp (ms) of when the provider was last updated.

## Other responses

- `400`
- `404`

---

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