> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-style-guide-models-reports-20260604-104120.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete registry

> Delete a W&B Registry as a Team admin or Registry admin using the Python SDK or the W&B UI.

This page shows how a Team admin or Registry admin can delete a registry. Admins can programmatically or interactively delete a registry with the W\&B Python SDK or the W\&B UI.

Permissions to delete a registry depend on your role:

* A Team admin can delete any registry in the organization.
* A Registry admin can delete a registry that they created.

Deleting a registry also deletes collections that belong to that registry, but doesn't delete artifacts linked to the registry. Such artifacts remain in the original project that they were logged to.

<Tabs>
  <Tab title="Python SDK">
    Use the `wandb` API's `delete()` method to delete a registry programmatically. The following example illustrates how to:

    1. Fetch the registry you want to delete with `api.registry()`.
    2. Call the `delete()` method on the returned registry object to delete the registry.

    Replace `[REGISTRY-NAME]` with the name of your registry.

    ```python theme={null}
    import wandb

    # Initialize the W&B API
    api = wandb.Api()

    # Fetch the registry you want to delete
    fetched_registry = api.registry("[REGISTRY-NAME]")

    # Deleting a registry
    fetched_registry.delete()
    ```
  </Tab>

  <Tab title="W&B UI">
    1. Navigate to the W\&B Registry at [https://wandb.ai/registry/](https://wandb.ai/registry/).
    2. Select the registry you want to delete.
    3. Click the gear icon in the upper-right corner to view the registry's settings.
    4. To delete the registry, click the trash can icon in the upper-right corner of the settings page.
    5. Confirm the registry to delete by entering its name in the modal that appears, then click **Delete**.
  </Tab>
</Tabs>
