Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Chapter:Data
 - 
                        HD-Enabler:Orion
 
Description
Created question in FIWARE Q/A platform on 02-04-2015 at 11:04
Please, ANSWER this question AT 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": [
  ],
  "updateAction": "DELETE"
}
This is the returned query:
{
            "contextElement": {
                "type": "",
                "isPattern": "false",
                "id": "",
                "attributes": [
                    
,
{ "name": "pressure", "type": "integer", "value": "720" }                ]
            },
            "statusCode": 
}
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Component/s | FIWARE-TECH-HELP [ 10278 ] | 
| Status | Open [ 1 ] | In Progress [ 3 ] | 
| Assignee | Leandro Guillén [ leandro.guillen ] | 
| HD-Enabler | Orion [ 10875 ] | |
| Description | 
                                                                 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" } }  | 
                
                                                               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" } }  | 
                
| HD-Chapter | Data [ 10838 ] | 
| Status | In Progress [ 3 ] | Answered [ 10104 ] | 
| Resolution | Done [ 10000 ] | |
| Status | Answered [ 10104 ] | Closed [ 6 ] | 
| Fix Version/s | 2021 [ 12600 ] | 
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
		    	
  | 
			2h 59m | 1 | Backlog Manager | 30/May/17 9:04 AM | |||||
		    	
  | 
			2h 2m | 1 | Fernando Lopez | 30/May/17 11:06 AM | |||||
		    	
  | 
			1s | 1 | Fernando Lopez | 30/May/17 11:06 AM | 
2017-05-30 06:05|CREATED monitor | # answers= 1, accepted answer= True