# dev.knotless.removeRunner

> Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk)

✓ This is the authoritative definition for this NSID.

## Description

Stops naming an account among a repository's runners, as its owner logged in to this appview's pages.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.removeRunner)
- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.removeRunner/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.removeRunner/examples)

## Definitions

### `dev.knotless.removeRunner`

**Type**: `procedure`

Takes an account out of the runners the repository's record names, as `knotless runners remove` does, as the account logged in to this appview's web pages, which must be its owner: its checks of the repository no longer show. A private repository's runner stays a member of it until unshared. Answers with the runners it names after. Requires the session cookie the pages' login sets.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `repo` | `string` (at-uri) | Yes | The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it. |
| `runner` | `string` (at-identifier) | Yes | The account a knotless runner reports as, by handle or DID. |

#### Output

**Encoding**: `application/json`

#### Errors

- **NotFound**: No such repository, or no such account.
- **AuthenticationRequired**: No account is logged in to the pages, or its session has ended.
- **UpstreamFailure**: Nothing changed, as the reason says: the account is not the owner.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Takes an account out of the runners the repository's record names, as `knotless runners remove` does, as the account logged in to this appview's web pages, which must be its owner: its checks of the repository no longer show. A private repository's runner stays a member of it until unshared. Answers with the runners it names after. Requires the session cookie the pages' login sets.",
      "errors": [
        {
          "description": "No such repository, or no such account.",
          "name": "NotFound"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        },
        {
          "description": "Nothing changed, as the reason says: the account is not the owner.",
          "name": "UpstreamFailure"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "repo": {
              "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
              "format": "at-uri",
              "type": "string"
            },
            "runner": {
              "description": "The account a knotless runner reports as, by handle or DID.",
              "format": "at-identifier",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "runner"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "dev.knotless.listRunners#runners",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Stops naming an account among a repository's runners, as its owner logged in to this appview's pages.",
  "id": "dev.knotless.removeRunner",
  "lexicon": 1
}
```
