Add delete connection function to DELETE /who
This commit is contained in:
@@ -78,10 +78,11 @@ paths:
|
||||
delete:
|
||||
tags:
|
||||
- who
|
||||
summary: "Delete the specified entity, which is assumed to be a leaf"
|
||||
summary: "Delete the specified entity, which is assumed to be a leaf, or only its connection if specified"
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/id"
|
||||
- $ref: "#/components/parameters/namespace"
|
||||
- $ref: "#/components/parameters/connection"
|
||||
responses:
|
||||
200:
|
||||
$ref: "#/components/schemas/ok"
|
||||
@@ -98,6 +99,13 @@ components:
|
||||
namespace:
|
||||
$ref: "./swagger.yaml#/components/parameters/namespace"
|
||||
|
||||
connection:
|
||||
name: connection
|
||||
in: query
|
||||
description: "An entity's connection's name"
|
||||
schema:
|
||||
type: string
|
||||
|
||||
light:
|
||||
name: light
|
||||
in: query
|
||||
|
||||
Reference in New Issue
Block a user