---
title: "Update existing object group."
method: PUT
path: "/v1/object-groups/{id}"
tags: ["object_groups"]
---

# Update existing object group.

`PUT /v1/object-groups/{id}`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/object-groups/{id}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://demo.firefly-iii.org/oauth/authorize`
    - Token URL: `https://demo.firefly-iii.org/oauth/token`
  - HTTP bearer

Update existing object group.

## Path parameters

- `id` string, required

## Headers

- `X-Trace-Id` string, uuid

## Request body

- ObjectGroupUpdate
  - `title` string, string, required
  - `order` integer: Order of the object group

## Response `200`

Updated object group stored, result in response

- ObjectGroupSingle
  - `data` ObjectGroupRead, required
    - `type` string, string, required: Immutable value
    - `id` string, string, required
    - `attributes` ObjectGroup, required
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `title` string, string, required
      - `order` integer, required: Order of the object group

## Other responses

- `400`: Bad request
- `401`: Unauthenticated
- `404`: Page not found
- `422`: Validation error. The body will have the exact details.
- `500`: Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-3-0-beta-2.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-3-0-beta-2/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-3-0-beta-2/revisions/a5f6f8195556?raw)
