Entity Group: delete entities

Description

Removes the specified members from the entity group.

To delete all entities from the group, submit an empty array [] with the set entities method.

Note

Membership in expression-based groups is managed by the server. Adding and removing members of such groups is not supported.

Request

Method Path Content-Type Header
POST /api/v1/entity-groups/{group}/entities/delete application/json

Path Parameters

Name Type Description
group string Entity group name.

Payload

An array of entity names to be removed as members.

[
  "entity-1",
  "entity-2"
]

Response

Fields

None.

Example

Request

URI

POST /api/v1/entity-groups/nmon-aix/entities/delete

Payload

[
  "nurswgvml010",
  "nurswgvml011"
]

curl

curl https://atsd_hostname:8443/api/v1/entity-groups/nmon-aix/entities/delete \
  -k --user {username}:{password} \
  --header "Content-Type: application/json" \
  --data '["nurswgvml010", "nurswgvml011"]'

Response

None.

Additional examples