# DELETE /plugins/{name}

First published 29 Oct 2026 (release 0.2.19) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the plugins group.

Remove a plugin's registration

- Who may call it: administrator
- Token scope, any of: settings, all
- Answers: 200 OK

UrbeStack revokes all the plugin's API tokens, deletes its key file, and removes its API principal and package settings. It updates nginx and the firewall to remove access to the plugin's pages.

Use this operation to forget a plugin whose files have already been removed. The vendor's uninstaller handles the plugin's own files.

The API returns 400 if name is invalid. A valid name is 2 to 32 characters long, starts with a lowercase ASCII letter, and contains only lowercase ASCII letters, digits, or hyphens.

## As a command

- [urbestack-plugin-del](https://urbestack.com/docs/commands/urbestack-plugin-del.md): Removes a plugin's registration from this server.

## Parameters

- `name` (path, PluginName, required)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X DELETE "$API/plugins/alice" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "applied": {},
  "name": "alice",
  "removed": 1,
  "revoked": 1
}
```

## Errors

- 400: --name is required
- 401: Authentication required
