Update Entity
Select
Customer Managed
This operation updates the regular expression of the entity
Request Body
Name | Description |
entityName | Desired name of the entity |
regularExpression | Desired regular expresssion of entity |
parentEntityId | Id value of desired parent entity |
flags | Sensitivity value of entity values: 1 - moderate 3 - high 5 - critical |
enabled | boolean value to represent enable value of entity values: true - enable entity false - disable entity |
keywords | String of desired keywords, separated by commas |
Path Parameters
- entityId string required
Header Parameters
- Accept string required
- application/json
Request Body
- entityId integer
entityXML object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
entityDetails object[]
{
"entityDetails": [
{
"regularExpression": "string",
"displayName": "string",
"flags": 0,
"parentEntityId": 0,
"categoryName": "string",
"enabled": true,
"entityName": "string",
"attribute": 0,
"entityType": 0,
"entityKey": "string",
"entityId": 0,
"entityXML": {}
}
]
}
{
"entityDetails": [
{
"regularExpression": "{\"entity_regex\":\"Sample Regular Expression\"}",
"displayName": "RestApiEntity",
"flags": 5,
"parentEntityId": 1,
"categoryName": "Custom Entity",
"enabled": true,
"entityName": "RestApiEntity",
"attribute": 0,
"entityType": 3,
"entityKey": "restapientity",
"entityId": 108,
"entityXML": {}
}
]
}
PUT /dcube/entity/:entityid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/dcube/entity/:entityId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityId": 0,
"entityXML": {
"keywords": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/dcube/entity/:entityId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityId": 0,
"entityXML": {
"keywords": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/dcube/entity/:entityId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityId": 0,
"entityXML": {
"keywords": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/dcube/entity/:entityId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityId": 0,
"entityXML": {
"keywords": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/dcube/entity/:entityId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityId": 0,
"entityXML": {
"keywords": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/dcube/entity/:entityId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityId": 0,
"entityXML": {
"keywords": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/dcube/entity/:entityId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityId": 0,
"entityXML": {
"keywords": "string"
}
}'