Groups

Move

Move a group to a new parent, or to the top level by setting parent_id to null.

post/groups/{group_id}/move

Request

  • Base URL
    https://api.mirurobotics.com/beta
  • URL
    https://api.mirurobotics.com/beta/groups/{group_id}/move
  • Auth
    API key in header X-API-Key

Path parameters

group_idstring required
Example:grp_123

The unique identifier of the group.

Query parameters

expandGroupExpansion[]

Fields to expand on the group resource.

[
  "parent"
]

Request body

parent_idstring nullable required

ID of the new parent group. Set to null to make this a top-level group.

Example request

{
  "parent_id": "grp_456"
}

Response

Successfully moved the group.

object'group' required

The object type, which is always group.

idstring required

ID of the group.

namestring required

Name of the group.

parent_idstring nullable required

ID of the parent group. Null for top-level groups.

created_atstring date-time required

Timestamp of when the group was created.

updated_atstring date-time required

Timestamp of when the group was last updated.

parentGroup circular

Example response

{
  "object": "group",
  "id": "grp_789",
  "name": "line-3",
  "parent_id": "grp_456",
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.