---
title: "Generate Secret"
method: POST
path: "/v1/proxy-profiles/{proxyProfileId}/secret"
tags: ["Proxy Profiles"]
---

# Generate Secret

`POST /v1/proxy-profiles/{proxyProfileId}/secret`

This endpoint (re)generates a secret token for a Proxy Profile identified by the `proxyProfileId` parameter.

## Path parameters

- `proxyProfileId` string, uuid, required

## Response `200`

When the generation was successful.

- ProxyProfileSecretModel
  - `secretToken` string, required — The secret token associated with the proxy profile.

## 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/revisions/6b4d53bc1455/schema)
