# net.nusno.gyoka.feed.unregisterFeed

> Unregister a feed from Gyoka.

- Kind: procedure
- Authority: feed.gyoka.nusno.net
- Lexicon: 1
- Published by [nusno.net](https://lexicon.garden/identity/did:plc:gjkxkrudpqumaiiytxodmpaj), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:gjkxkrudpqumaiiytxodmpaj/net.nusno.gyoka.feed.unregisterFeed)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:gjkxkrudpqumaiiytxodmpaj/net.nusno.gyoka.feed.unregisterFeed/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:gjkxkrudpqumaiiytxodmpaj/net.nusno.gyoka.feed.unregisterFeed/analytics)

## Procedure (`net.nusno.gyoka.feed.unregisterFeed`)

Type: procedure · POST

### Input (application/json)

- `uri` (string · at-uri, required): AT-URI of the feed generator record to unregister.

### Output (application/json)

- `message` (string, required)

### Errors

- `AuthenticationRequired`: Returned when service authentication is required and the caller is not authenticated.
- `Forbidden`: Returned when the authenticated caller is not in the admin allowlist.
- `BadRequest`: Returned when the request payload is invalid.
- `UnknownFeed`: Returned when the target feed URI is not registered.
- `InternalServerError`: Returned when the feed cannot be unregistered.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Unregister a feed from Gyoka.",
      "errors": [
        {
          "description": "Returned when service authentication is required and the caller is not authenticated.",
          "name": "AuthenticationRequired"
        },
        {
          "description": "Returned when the authenticated caller is not in the admin allowlist.",
          "name": "Forbidden"
        },
        {
          "description": "Returned when the request payload is invalid.",
          "name": "BadRequest"
        },
        {
          "description": "Returned when the target feed URI is not registered.",
          "name": "UnknownFeed"
        },
        {
          "description": "Returned when the feed cannot be unregistered.",
          "name": "InternalServerError"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "description": "AT-URI of the feed generator record to unregister.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "message": {
              "type": "string"
            }
          },
          "required": [
            "message"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "net.nusno.gyoka.feed.unregisterFeed",
  "lexicon": 1
}
```
