[ https://jira.fiware.org/browse/HELP-9340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez reassigned HELP-9340:
------------------------------------
Assignee: Leandro Guillén
> [fiware-stackoverflow] How can I delete an id-less entity in Orion?
> -------------------------------------------------------------------
>
> Key: HELP-9340
> URL: https://jira.fiware.org/browse/HELP-9340
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Assignee: Leandro Guillén
> Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 02-04-2015 at 11:04
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/29409565/how-can-i-delete-an-id-less-entity-in-orion
> +Question:+
> How can I delete an id-less entity in Orion?
> +Description:+
> Question title pretty much self explanatory. It is possible to create an id-less entity in Orion. An id = .* query returns normally as an id-less, although existing entity. But how can someone delete that entity? This request didn't work obviously:
> {
> "contextElements": [
> {
> "type": "",
> "isPattern": "false",
> "id": ""
> }
> ],
> "updateAction": "DELETE"
> }
> This is the returned query:
> {
> "contextElement": {
> "type": "",
> "isPattern": "false",
> "id": "",
> "attributes": [
> {
> "name": "temp",
> "type": "integer",
> "value": "15"
> },
> {
> "name": "pressure",
> "type": "integer",
> "value": "720"
> }
> ]
> },
> "statusCode": {
> "code": "200",
> "reasonPhrase": "OK"
> }
> }
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy