---
title: "Roll endpoint secret"
method: PUT
path: "/v1/projects/{projectID}/endpoints/{endpointID}/expire_secret"
tags: ["Endpoints"]
---

# Roll endpoint secret

`PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret`

This endpoint expires and re-generates the endpoint secret.

## Path parameters

- `projectID` string, required
- `endpointID` string, required

## Request body

- ModelsExpireSecret
  - `expiration` integer
  - `secret` string

## Changes

- **2024-01-30** (v3) `a138f74e9d23` — 2 breaking
  - the `allOf[subschema #2]/data/http_timeout` response's property type changed from `string` to `integer` for status `200`
  - the `allOf[subschema #2]/data/rate_limit_duration` response's property type changed from `string` to `integer` for status `200`

[Change history](https://skmtc.dev/getconvoy/apis/convoy-api-reference/changes/v1/projects/:projectID/endpoints/:endpointID/expire_secret/put.md)

---

[API](https://skmtc.dev/getconvoy/apis/convoy-api-reference.md) · [All operations](https://skmtc.dev/getconvoy/apis/convoy-api-reference/llms.txt) · [OpenAPI document](https://skmtc.dev/getconvoy/apis/convoy-api-reference/revisions/182c7b00a49a?raw)
