---
title: "Replace Proxy Profile"
method: PUT
path: "/v1/proxy-profiles/{proxyProfileId}"
tags: ["Proxy Profiles"]
---

# Replace Proxy Profile

`PUT /v1/proxy-profiles/{proxyProfileId}`

This endpoint replaces a Proxy Profile identified by the `proxyProfileId` parameter.

**Important:** As this endpoint is doing a complete replace, it's important to set every other attribute that you don't
want to change in its original state. Not listing one means it will reset.

## Path parameters

- `proxyProfileId` string, uuid, required

## Request body

- CreateOrUpdateProxyProfileRequest
  - `name` string, required — The name of the proxy profile.
  - `description` string, nullable — The description of the proxy profile.
  - `connectionPreferences` CreateOrUpdateConnectionPreferences — The preferences related to a connection, including polling intervals and webhook proxy configurations.
    - `sdkPollInterval` integer, nullable — The SDK poll interval in seconds. If not specified, a default value (60) will be used.
    - `webhookNotification` CreateOrUpdateWebhookNotification — The preferences related to a connection, including polling intervals and webhook proxy configurations.
      - `webhookProxyUrl` string, required — The webhook proxy URL for receiving config JSON change notifications.
  - `sdkKeySelectionRules` UpdateProxyProfileSelectionRule[], nullable — A collection of selection rules that determine the SDK keys applicable for a proxy profile.
    - `kind` 'include' | 'exclude' — Defines the types of SDK selection rules that can be applied to proxy profiles.
    - `productIdFilter` string, uuid, nullable — Defines the filter for matching Products by their unique identifier.
    - `configIdFilter` string, uuid, nullable — Defines the filter for matching Configs by their unique identifier.
    - `environmentIdFilter` string, uuid, nullable — Defines the filter for matching Environments by their unique identifier.
    - `productNameMatchFilter` string, nullable — Specifies a filter to match Product names in the proxy profile selection rule. It accepts wildcards (*).
    - `configNameMatchFilter` string, nullable — Specifies a filter to match Config names in the proxy profile selection rule. It accepts wildcards (*).
    - `environmentNameMatchFilter` string, nullable — Specifies a filter to match Environment names in the proxy profile selection rule. It accepts wildcards (*).

## Response `200`

When the replace was successful.

- ProxyProfileModel
  - `proxyProfileId` string, uuid, required — The unique identifier of the proxy profile.
  - `name` string, required — The name of the proxy profile.
  - `description` string, nullable, required — The description of the proxy profile.
  - `lastAccessedAt` string, date-time, nullable, required — The date and time when the proxy profile was last accessed.
  - `connectionPreferences` ConnectionPreferences, required — The connection preferences for the proxy profile, including SDK poll interval and webhook proxy URL.
    - `sdkPollInterval` integer, required — The SDK poll interval in seconds that determines how often SDKs should fetch config JSON updates.
    - `webhookNotification` WebhookNotification, required — The webhook notification settings, including the proxy URL and signing keys.
      - `webhookProxyUrl` string, required — The webhook proxy URL for receiving config JSON change notifications.
      - `signingKey1` string, required — The primary signing key used for verifying the authenticity of webhook requests.
      - `signingKey2` string, nullable, required — The secondary signing key used for verifying the authenticity of webhook requests.
  - `sdkKeySelectionRules` ProxyProfileSelectionRule[], required
    - `kind` 'include' | 'exclude', required — Defines the types of SDK selection rules that can be applied to proxy profiles.
    - `productIdFilter` string, uuid, nullable, required — Defines the filter for matching Products by their unique identifier.
    - `configIdFilter` string, uuid, nullable, required — Defines the filter for matching Configs by their unique identifier.
    - `environmentIdFilter` string, uuid, nullable, required — Defines the filter for matching Environments by their unique identifier.
    - `productNameMatchFilter` string, nullable, required — Specifies a filter to match Product names in the proxy profile selection rule. It accepts wildcards (*).
    - `configNameMatchFilter` string, nullable, required — Specifies a filter to match Config names in the proxy profile selection rule. It accepts wildcards (*).
    - `environmentNameMatchFilter` string, nullable, required — Specifies a filter to match Environment names in the proxy profile selection rule. It accepts wildcards (*).

## Other responses

- `400` — Bad request.
- `404` — Not found.
- `429` — Too many requests. In case of the request rate exceeds the rate limits.

---

[API](https://skmtc.net/configcat/apis/configcat-public-management-api.md) · [All operations](https://skmtc.net/configcat/apis/configcat-public-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/configcat/configcat-public-management-api/versions/6b4d53bc1455/schema)
