Live video on the AT Protocol
1{
2 "lexicon": 1,
3 "id": "place.stream.server.deleteWebhook",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Delete an existing webhook.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": ["id"],
13 "properties": {
14 "id": {
15 "type": "string",
16 "description": "The ID of the webhook to delete."
17 }
18 }
19 }
20 },
21 "output": {
22 "encoding": "application/json",
23 "schema": {
24 "type": "object",
25 "required": ["success"],
26 "properties": {
27 "success": {
28 "type": "boolean",
29 "description": "Whether the webhook was successfully deleted."
30 }
31 }
32 }
33 },
34 "errors": [
35 {
36 "name": "WebhookNotFound",
37 "description": "The specified webhook was not found."
38 },
39 {
40 "name": "Unauthorized",
41 "description": "The authenticated user does not have access to this webhook."
42 }
43 ]
44 }
45 }
46}