Handle Operations on Element (v2.0)
POST/v2.0/api/tenants/:tenant_id/elements/:element_id/operations
Handle all the operations on an element.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
element_id stringrequired
The element ID.
- application/json
Body
Details of the operations on element
action string
The action performed on the element.
id string
Id
parameters string[]
The parameters for the element operations.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
action string
The action performed on the element.
id string
Id
parameters string[]
The parameters for the element operations.
{
"action": "string",
"id": "string",
"parameters": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ELEMENT_NOT_FOUND"
},
{
"code": "COMMAND_NOT_SUPPORTED"
}
]
}
}
Loading...