---
title: "Relocate a group within the hierarchy."
url: "https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/relocateGroup"
---

> Full API specification: https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2.md

# Relocate a group within the hierarchy.

`POST` `/cmd/v1/groups/specialops/groups`

Operation ID: `relocateGroup`

## Before you start Before you make your first API call, make sure you have the following: - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace. - You have the Client ID and Client Secret for your integration. - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken). > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy). ## Purpose Moves a group to a different parent group within the REVEAL account's organizational hierarchy. The request body must include the group ID and the target parent group.

## Request body (required)

Content types: `application/json`

## Responses

- `204` - Group relocated within the hierarchy. No response body.
- `400` - Bad request. The parent group was not found, the parent is the Ungrouped group, the group to move is the Ungrouped group or the root group, or the relocation would create a circular reference.
- `401` - Invalid token or an Authorization problem.
- `404` - The group to move (ChildGroupId) was not found.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Verizon Connect API
  version: 1.0.0
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/groups/specialops/groups:
    post:
      summary: Relocate a group within the hierarchy.
      description: |-
        ## Before you start

        Before you make your first API call, make sure you have the following:

        - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
        - You have the Client ID and Client Secret for your integration.
        - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken).

        > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy).

        ## Purpose

        Moves a group to a different parent group within the REVEAL account's organizational hierarchy. The request body must include the group ID and the target parent group.
      operationId: relocateGroup
      tags:
        - Group Relocation API
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/groups/specialops/groups/?$
      requestBody:
        description: The group to move and the group that becomes its new parent. Both
          values are client group IDs.
        content:
          application/json:
            schema:
              type: object
              required:
                - ParentGroupId
                - ChildGroupId
              properties:
                ParentGroupId:
                  type: string
                  description: Client group ID of the new parent group.
                ChildGroupId:
                  type: string
                  description: Client group ID of the group to move. Its child groups move with
                    it.
        required: true
      responses:
        "204":
          description: Group relocated within the hierarchy. No response body.
        "400":
          description: Bad request. The parent group was not found, the parent is the
            Ungrouped group, the group to move is the Ungrouped group or the
            root group, or the relocation would create a circular reference.
          content:
            application/json: {}
        "401":
          description: Invalid token or an Authorization problem.
        "404":
          description: The group to move (ChildGroupId) was not found.
        "500":
          description: Internal server error.
          content:
            application/json: {}
```
