# Verb routes: retire

URL: /code/api/verb/verbs · Id: `page:code/api/verb/verbs`

> The Verb Verbs retire as api.sb routes, with inputs, result, refusals and an example.

Reference for [Verb](/business/nouns/verb), one group of [Verb routes](/code/api/verb).

### Verb.retire
Retire removes a published Verb from new Versions; callers pinned to earlier Versions keep calling it. [Verb page](/business/nouns/verb/retire?interface=api).

```text
POST /{namespace}/verbs/{verb}/retire
```

Path: `verb`. Emits [`Verb.retired`](/business/events/Verb.retired).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `verb` | [Verb](/business/nouns/verb) | Yes | The Verb to retire. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `version` | [Version](/business/nouns/version) | Yes | The new Version, without the Verb. |
| `verb` | [Verb](/business/nouns/verb) | Yes | The Verb, now retired from new Versions. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```bash
curl -X POST https://api.sb/leaseline.app/verbs/verb_hlkWBvrAyZ/retire \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/leaseline.app",
  "version": {
    "$id": "https://api.sb/leaseline.app/versions/version_4HTEMs14G4",
    "$type": "Version",
    "fingerprint": "sha256:9f2c4e1a7b3d"
  },
  "verb": {
    "$id": "https://api.sb/leaseline.app/verbs/verb_hlkWBvrAyZ",
    "$type": "Verb",
    "name": "Leaseline",
    "event": "Example event",
    "status": "retired"
  },
  "action": {
    "$id": "https://api.sb/leaseline.app/actions/act_br07HsG8MG",
    "operation": "Verb.retire",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/leaseline.app/actions/act_br07HsG8MG"
  }
}
```