---
title: "Update org registry config"
method: PATCH
path: "/api/v1/orgs/{slug}/registry"
tags: ["Org Registry"]
---

# Update org registry config

`PATCH /api/v1/orgs/{slug}/registry`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/orgs/{slug}/registry`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Updates the organization's private-registry configuration. Authenticated; requires the organization `ADMIN` role and a Team or Enterprise plan. `blockAfterDays` is required when the deprecation policy blocks installs after N days.

## Path parameters

- `slug` string, required

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

- object
  - `allowedDomains` string[], required
  - `approvalWorkflow` 'auto' | 'admin-approval', required
  - `deprecationPolicy` 'warn-only' | 'block-install-after-N-days', required
  - `blockAfterDays` integer
  - `tier` string, required

---

[API](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api.md) · [All operations](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/revisions/cb5d46d80300?raw)
