---
title: "Update a directory entry"
method: PATCH
path: "/api/directory/entries/{id}"
tags: ["Entries"]
---

# Update a directory entry

`PATCH /api/directory/entries/{id}`

Partially update an entry. At least one field must be provided.

## Request body

- UpdateDirectoryEntryRequest — At least one field must be provided.
  - `gateway` string, nullable
  - `currencies` string[]
  - `priority` integer
  - `routingInfo` object
  - `status` 'ACTIVE' | 'SUSPENDED'

## Response `200`

Entry updated

- DirectoryEntry
  - `id` string, uuid
  - `rail` string — Payment rail type (e.g. mobile_money, bank_transfer, card)
  - `identifier` string — Unique identifier within the rail
  - `tenantId` string, nullable — Owning tenant ID, null for global entries
  - `gateway` string, nullable — Gateway provider name
  - `currencies` string[] — Supported ISO 4217 currency codes
  - `priority` integer — Routing priority (lower = preferred)
  - `routingInfo` object — Arbitrary gateway-specific routing metadata
  - `status` 'ACTIVE' | 'SUSPENDED'
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Validation error
- `404` — Resource not found

---

[API](https://skmtc.dev/stalela/apis/stalela-directory-api.md) · [All operations](https://skmtc.dev/stalela/apis/stalela-directory-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stalela/stalela-directory-api/revisions/766a35bc67dd/schema)
