Delete an entity type and/or optional metric type

delete

/serviceapi/entityModel/uds/entityTypes

Deletes an entity type or a metric.

Note that you can only delete user-defined Entity Types if there is no more existing entities of that entity type.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

204 Response

Success - Entity Type deleted
Back to Top

Examples

Delete a Metric:

curl -u ${OMC_USERNAME}:${PASSWORD} -X DELETE "https://serverurl/serviceapi/entityModel/uds/entityTypes?entityType=MyHostType&metricType=cpuUser&confirm=true"

Delete an Entity Type:

curl -u ${OMC_USERNAME}:${PASSWORD} -X DELETE "https://serverurl/serviceapi/entityModel/uds/entityTypes=MyHostType&confirm=true"
Back to Top