v10

latestOpenAPI 3.0.1raw.githubusercontent.com2025-12-033223581.2 MB
ResourceGroup

Remove item

Remove an item from a ResourceGroup.

post/organizations/{orgId}/resourcegroups/{type}/{resourceGroupId}/removeresource

Path parameters

orgIdstring required

UUID of the organization

resourceGroupIdstring required

The UUID of the ResourceGroup to remove the item from.

typestring required

The type of resource

Request body

versioninteger

The version number of the group.

targetIdstring required

The id of the item or group you want to:

  • Add Item call: add to a Resource Group.
  • Remove Item call: remove from the Resource Group.
targetType'ITEM' | 'GROUP' required

When adding to or removing from a Resource Group, specify whether a single item or group:

  • item
    • Add Item call: use to add a single meter to a Resource Group
    • Remove Item call: use to remove a single from a Resource Group.
  • group
    • Add Item call: use to add a Resource Group to another Resource Group and form a nested Resource Group
    • Remove Item call: use remove a nested Resource Group from a Resource Group.

Example request

{
  "targetId": "06f6b50c-a868-4ca6-XXXX-448e507d5248",
  "targetType": "item"
}

Response

Return the ResourceGroup

idstring required

The UUID of the entity.

versioninteger

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
namestring

The name of the Resource Group.

dtCreatedstring date-time

The date and time (in ISO-8601 format) when the Resource Group was created.

dtLastModifiedstring date-time

The date and time (in ISO-8601 format) when the Resource Group was last modified.

createdBystring

The unique identifier (UUID) of the user who created this Resource Group.

lastModifiedBystring

The unique identifier (UUID) of the user who last modified this Resource Group.