# so.sprk.notification.unregisterPush

> Published by [sprk.so](https://lexicon.garden/identity/did:plc:cveom2iroj3mt747sd4qqnr2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.notification.unregisterPush)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.notification.unregisterPush/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.notification.unregisterPush/examples)

## Definitions

### `so.sprk.notification.unregisterPush`

**Type**: `procedure`

The inverse of registerPush - inform a specified service that push notifications should no longer be sent to the given token for the requesting account. Requires auth.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `appId` | `string` | Yes |  |
| `token` | `string` | Yes |  |
| `platform` | `string` | Yes |  |
| `serviceDid` | `string` (did) | Yes |  |

## Raw Schema

```json
{
  "id": "so.sprk.notification.unregisterPush",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "serviceDid",
            "token",
            "platform",
            "appId"
          ],
          "properties": {
            "appId": {
              "type": "string"
            },
            "token": {
              "type": "string"
            },
            "platform": {
              "type": "string",
              "knownValues": [
                "ios",
                "android",
                "web"
              ]
            },
            "serviceDid": {
              "type": "string",
              "format": "did"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "The inverse of registerPush - inform a specified service that push notifications should no longer be sent to the given token for the requesting account. Requires auth."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
