Skip to main content

Create an Entity

Select

Customer Managed

This operation creates a new entity

Request Body

NameDescription
entityNameDesired 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

Header Parameters
  • Accept string required
Request Body
  • entityName string
  • regularExpression string
  • parentEntityId integer
  • flags integer
  • enabled boolean
  • entityXML object
  • keywords string
Responses

OK


Schema
  • entityDetails object[]
  • regularExpression string
  • displayName string
  • flags integer
  • parentEntityId integer
  • categoryName string
  • enabled boolean
  • entityName string
  • entityType integer
  • entityKey string
  • entityId integer
  • entityXML object
  • keywords string
POST /dcube/entity    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Accept — header required
Body

{
"entityName": "string",
"regularExpression": "string",
"parentEntityId": 0,
"flags": 0,
"enabled": true,
"entityXML": {
"keywords": "string"
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/dcube/entity' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityName": "string",
"regularExpression": "string",
"parentEntityId": 0,
"flags": 0,
"enabled": true,
"entityXML": {
"keywords": "string"
}
}'