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

# Update an endpoint

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

This endpoint updates an endpoint

## Path parameters

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

## Request body

- ModelsUpdateEndpoint
  - `advanced_signatures` boolean — Convoy supports two [signature formats](https://getconvoy.io/docs/manual/signatures) -- simple or advanced. If left unspecified, we default to false.
  - `authentication` ModelsEndpointAuthentication
    - `api_key` ModelsApiKey
      - `header_name` string
      - `header_value` string
    - `type` 'api_key'
  - `description` string — Human-readable description of the endpoint. Think of this as metadata describing the endpoint
  - `http_timeout` integer — Define endpoint http timeout in seconds.
  - `is_disabled` boolean — This is used to manually enable/disable the endpoint.
  - `name` string
  - `owner_id` string — The OwnerID is used to group more than one endpoint together to achieve [fanout](https://getconvoy.io/docs/manual/endpoints#Endpoint%20Owner%20ID)
  - `rate_limit` integer — Rate limit is the total number of requests to be sent to an endpoint in the time duration specified in RateLimitDuration
  - `rate_limit_duration` integer — Rate limit duration specifies the time range for the rate limit.
  - `secret` string — Endpoint's webhook secret. If not provided, Convoy autogenerates one for the endpoint.
  - `slack_webhook_url` string — Slack webhook URL is an alternative method to support email where endpoint developers can receive failure notifications on a slack channel.
  - `support_email` string — Endpoint developers support email. This is used for communicating endpoint state changes. You should always turn this on when disabling endpoints are enabled.
  - `url` string — URL is the endpoint's URL prefixed with https. non-https urls are currently not supported.

## Response `200`

OK

- object
  - `message` string
  - `status` boolean
  - `data` ModelsEndpointResponse
    - `advanced_signatures` boolean
    - `authentication` DatastoreEndpointAuthentication
      - `api_key` DatastoreApiKey
        - `header_name` string
        - `header_value` string
      - `type` 'api_key'
    - `created_at` string
    - `deleted_at` string
    - `description` string
    - `events` integer
    - `http_timeout` integer
    - `name` string
    - `owner_id` string
    - `project_id` string
    - `rate_limit` integer
    - `rate_limit_duration` integer
    - `secrets` DatastoreSecret[]
      - `created_at` string
      - `deleted_at` string
      - `expires_at` string
      - `uid` string
      - `updated_at` string
      - `value` string
    - `slack_webhook_url` string
    - `status` 'active' | 'inactive' | 'pending' | 'paused'
    - `support_email` string
    - `uid` string
    - `updated_at` string
    - `url` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

## Changes

- **2024-03-26** `2ddfad646792` — 1 info
  - api operation id `UpdateEndpoint` was added
- **2024-01-30** `5a219dba9f40` — 1 breaking, 2 info
  - removed the success response with the status `202`
  - api operation id `UpdateEndpoint` removed and replaced with ``
  - added the success response with the status `200`

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

---

[API](https://skmtc.dev/frain-dev/apis/convoy-api-reference.md) · [All operations](https://skmtc.dev/frain-dev/apis/convoy-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/frain-dev/convoy-api-reference/revisions/831c5f3ca19d/schema)
