---
title: "Update a registry you own"
method: PATCH
path: "/registries/{slug}"
tags: ["Registries"]
---

# Update a registry you own

`PATCH /registries/{slug}`

Update a registry you own

## Request body

- object
  - `name` string
  - `description` string, nullable
  - `is_public` boolean
  - `publish_policy` 'owner_only' | 'request' | 'open' — Who may publish into a registry. owner_only: only the registry owner. request: anyone may request and the owner approves. open: anyone may publish and it lists immediately (no approval step).

## Response `200`

Registry updated

- object
  - `success` true, required
  - `data` object, required
    - `id` string, uuid, required

## Other responses

- `401` — Invalid or missing API key
- `403` — Authenticated caller lacks permission for the operation
- `404` — Resource not found
- `422` — The request was well-formed but could not be processed. For Payments this covers a missing payout address, a failed payment verification, a spend-policy decline, or an expired challenge; `error.code` distinguishes them.

---

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