# ink.resenha.notification.unregisterPush

> Requires the caller's service token.

- Kind: procedure
- Authority: notification.resenha.ink
- Lexicon: 1
- Published by [resenha.ink](https://lexicon.garden/identity/did:plc:v7itjf4h3sb5zuegiiskctqb), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.unregisterPush)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.unregisterPush/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.unregisterPush/analytics)

## Procedure (`ink.resenha.notification.unregisterPush`)

Type: procedure · POST

### Input (application/json)

- `appId` (string, required): The app's bundle identifier.
  - Constraints: maxLength: 256
- `platform` (string, required)
  - Constraints: knownValues: ios | macos
- `token` (string, required): The device's push token, hex.
  - Constraints: maxLength: 512

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Requires the caller's service token.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "appId": {
              "description": "The app's bundle identifier.",
              "maxLength": 256,
              "type": "string"
            },
            "platform": {
              "knownValues": [
                "ios",
                "macos"
              ],
              "type": "string"
            },
            "token": {
              "description": "The device's push token, hex.",
              "maxLength": 512,
              "type": "string"
            }
          },
          "required": [
            "token",
            "platform",
            "appId"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Stops push notifications to a device.",
  "id": "ink.resenha.notification.unregisterPush",
  "lexicon": 1
}
```
