# Retire a rule

`DELETE https://app.skylit.ai/api/nexus/v1/playbooks/{id}/rules/{ruleId}`

API: Nexus.

The rule leaves the checklist. Answers already given keep it, in the words it had when they were given.

## Authentication

Send your Skylit API key as a bearer token: `Authorization: Bearer <key>`. No other header is accepted.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |
| `ruleId` | path | string (uuid) | yes |  |

## Example request

```bash
curl "https://app.skylit.ai/api/nexus/v1/playbooks/{id}/rules/{ruleId}" \
  -H "Authorization: Bearer $SKYLIT_API_KEY"
```

## Responses

### 200

`{"archived": true}`.

### 403

`main_account_web_only`: your own account's setups and tags are changed only on skylit.ai, signed in as yourself.

### 404

`playbook_not_found` or `rule_not_found`.
