---
title: "PUT /v1/plans/{plan_id}/photo-groups/{photogroup_id}/"
method: PUT
path: "/v1/plans/{plan_id}/photo-groups/{photogroup_id}/"
tags: ["Plans"]
---

# PUT /v1/plans/{plan_id}/photo-groups/{photogroup_id}/

`PUT /v1/plans/{plan_id}/photo-groups/{photogroup_id}/`

## Request

- Base URL: `https://api.density.io`
- URL: `https://api.density.io/v1/plans/{plan_id}/photo-groups/{photogroup_id}/`
- Auth: API key in header `Authorization`

PlanPhotoGroupDetailView operations.

## Request body

- PlanPhotoGroupSerialzer
  - `id` integer
  - `name` string, required
  - `notes` string
  - `photos` PlanPhoto[]
    - `id` integer
    - `name` string, required
    - `url` string, uri
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `photo_ids` string[]
  - `locked` boolean
  - `origin_x_pixels` number
  - `origin_y_pixels` number
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `200`

Updated

- OptionalPlanPhotoGroupSerialzer
  - `id` integer
  - `name` string
  - `notes` string
  - `photos` PlanPhoto[]
    - `id` integer
    - `name` string, required
    - `url` string, uri
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `photo_ids` string[]
  - `locked` boolean
  - `origin_x_pixels` number
  - `origin_y_pixels` number
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400`: Bad Request
- `403`: Forbidden

---

[API](https://skmtc.dev/density/apis/your-project-api.md) · [All operations](https://skmtc.dev/density/apis/your-project-api/llms.txt) · [OpenAPI document](https://skmtc.dev/density/apis/your-project-api/revisions/3c729bb581d5?raw)
