Update Entity
PATCH/entities/:entityTypeId/:entityId
Updates a Entity
Request
Path Parameters
entityTypeId stringrequired
EntityType Identifier
entityId stringrequired
Entity Identifier
Query Parameters
siteId string
Site Identifier
namespace string
Possible values: [PRESET, CUSTOM]
Namespace Identifier
- application/json
Body
required
Array [
]
entity
object
name string
Entity Name
attributes
object[]
List of Entity Attributes
key string
Attribute key
stringValue string
Attribute with string value
stringValues string[]
Attribute with string values
numberValue number
Attribute with number value
numberValues number[]
Attribute with number values
booleanValue boolean
Attribute with boolean value
Responses
- 200
- 400
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
message string
Result message
{
"message": "string"
}
400 OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
List of errors
key string
Error Key
error string
Error Message
{
"errors": [
{
"key": "string",
"error": "string"
}
]
}
Loading...