us.off-the-clock.push.unregisterPushSubscription

Removes one of the viewer's subscriptions, named by its endpoint or by the id getPushSettings gave it. Anyone else's is left alone.

Details · procedure
Kindprocedure
Authoritypush.off-the-clock.us
Indexed
cid bafyreiemdmmfq6bg5caytzcsmhvlc66zwebk7td3q6tyozarjalypgxguq

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.idNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Removes one of the viewer's subscriptions, named by its endpoint or by the id getPushSettings gave it. Anyone else's is left alone.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotSpaceMember"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "endpoint": {
              "format": "uri",
              "maxLength": 1024,
              "type": "string"
            },
            "id": {
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "us.off-the-clock.push.unregisterPushSubscription",
  "lexicon": 1
}