---
title: "Update portal endpoint"
method: PUT
path: "/api/v1/portal/endpoints/{endpointId}"
tags: ["Portal"]
---

# Update portal endpoint

`PUT /api/v1/portal/endpoints/{endpointId}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/portal/endpoints/{endpointId}`
- Auth: HTTP bearer

Absent fields are left alone; eventTypes replaces the set

## Path parameters

- `endpointId` string, uuid, required

## Request body

- PortalEndpointRequest
  - `url` string, required
  - `description` string
  - `enabled` boolean
  - `eventTypes` string[]: The event types this Endpoint receives. Replaces the current set; absent leaves it alone. Wildcards: order.* (one segment), order.** and ** (everything).

## Response `200`

OK

---

[API](https://skmtc.dev/railhook/apis/railhook-api.md) · [All operations](https://skmtc.dev/railhook/apis/railhook-api/llms.txt) · [OpenAPI document](https://skmtc.dev/railhook/apis/railhook-api/revisions/4e2c76dfc33d?raw)
