meta { name: Delete a single webhook subscription by id type: http seq: 4 } delete { url: {{baseUrl}}/:did/webhooks/:id body: none auth: bearer } params:path { did: id: } auth:bearer { token: {{token}} } example { name: 204 Response description: Subscription deleted. request: { url: {{baseUrl}}/:did/webhooks/:id method: DELETE mode: none params:path: { did: id: } } response: { status: { code: 204 text: No Content } body: { type: text content: ''' ''' } } } example { name: 400 Response description: Malformed input. request: { url: {{baseUrl}}/:did/webhooks/:id method: DELETE mode: none params:path: { did: id: } } response: { headers: { Content-Type: application/json } status: { code: 400 text: Bad Request } body: { type: json content: ''' { "error": "" } ''' } } } example { name: 401 Response description: Missing or invalid bearer token. request: { url: {{baseUrl}}/:did/webhooks/:id method: DELETE mode: none params:path: { did: id: } } response: { headers: { Content-Type: application/json } status: { code: 401 text: Unauthorized } body: { type: json content: ''' { "error": "" } ''' } } } example { name: 403 Response description: Token is valid but the caller is not authorized for this resource. request: { url: {{baseUrl}}/:did/webhooks/:id method: DELETE mode: none params:path: { did: id: } } response: { headers: { Content-Type: application/json } status: { code: 403 text: Forbidden } body: { type: json content: ''' { "error": "" } ''' } } } example { name: 404 Response description: No subscription with that id owned by this DID. request: { url: {{baseUrl}}/:did/webhooks/:id method: DELETE mode: none params:path: { did: id: } } response: { headers: { Content-Type: application/json } status: { code: 404 text: Not Found } body: { type: json content: ''' { "error": "" } ''' } } }