diff --git a/spec/updated/entity-by-id-spec.json b/spec/updated/entity-by-id-spec.json index 0ba149ff257135786f5031e72df0129b621e0a30..357f8d0b9d702e1107b9a00026fc842966c2eb7c 100644 --- a/spec/updated/entity-by-id-spec.json +++ b/spec/updated/entity-by-id-spec.json @@ -51,8 +51,7 @@ }, { "$ref": "#/components/parameters/type" - }, - + } ], "responses": { "200": { @@ -79,9 +78,56 @@ } } } + }, + "404": { + "description": "Not Found", + "content": { + "application/json;application/ld+json": { + "schema": { + "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" + } + } + } + } + } + }, + "delete": { + "description": "Removes an specific Entity from an NGSI-LD system", + "operationId": "removeEntityById", + "parameters": [ + { + "$ref": "#/components/parameters/entityId" + }, + { + "$ref": "#/components/parameters/type" + } + ], + "responses": { + "204": { + "description": "No Content. The entity was removed successfully" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json;application/ld+json": { + "schema": { + "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json;application/ld+json": { + "schema": { + "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" + } + } + } } } } } } -} +} \ No newline at end of file