---
title: "Edit the concept or collection with id `c_id`."
method: PUT
path: "/conceptschemes/{scheme_id}/c/{c_id}"
tags: ["Atramhasis"]
---

# Edit the concept or collection with id `c_id`.

`PUT /conceptschemes/{scheme_id}/c/{c_id}`

Edit the concept or collection with id `c_id`. The response body will contain a representation of the concept or collection after the modifications.

## Path parameters

- `scheme_id` string, required
- `c_id` string, required

## Request body

- union
  - ConceptDetail
    - `id` string
    - `type` 'concept', required
    - `labels` Label[], required
      - `type` string, required
      - `language` string, required — IANA language tag
      - `label` string, required
    - `notes` Note[]
      - `note` string
      - `type` string
      - `language` string
      - `markup` string, nullable
    - `sources` Source[]
      - `citation` string
      - `markup` string, nullable
    - `member_of` object[]
      - `id` string — A collection id
    - `related` object[]
      - `id` string — A concept id
    - `broader` object[]
      - `id` string — A concept id
    - `narrower` object[]
      - `id` string — A concept id
    - `matches` Matches
      - `broad` string[]
      - `close` string[]
      - `exact` string[]
      - `narrow` string[]
      - `related` string[]
    - `subordinate_arrays` object[]
      - `id` string — A collection id
    - `label` string
    - `uri` string
    - `concept_scheme` object
      - `uri` string
      - `labels` Label[]
        - `type` string, required
        - `language` string, required — IANA language tag
        - `label` string, required
  - CollectionDetail
    - `id` string — If the provider is set to have a manual id_generation_strategy
    - `type` 'collection', required
    - `labels` Label[], required
      - `type` string, required
      - `language` string, required — IANA language tag
      - `label` string, required
    - `notes` Note[]
      - `note` string
      - `type` string
      - `language` string
      - `markup` string, nullable
    - `sources` Source[]
      - `citation` string
      - `markup` string, nullable
    - `member_of` object[]
      - `id` string — A collection id
    - `members` object[]
      - `id` string — A concept or collection id
    - `superordinates` object[]
      - `id` string — A concept id
    - `infer_concept_relations` boolean
    - `label` string
    - `uri` string

## Response `200`

The concept or collection was edited succesfully.

- union
  - ConceptDetail
    - `id` string
    - `type` 'concept', required
    - `labels` Label[], required
      - `type` string, required
      - `language` string, required — IANA language tag
      - `label` string, required
    - `notes` Note[]
      - `note` string
      - `type` string
      - `language` string
      - `markup` string, nullable
    - `sources` Source[]
      - `citation` string
      - `markup` string, nullable
    - `member_of` object[]
      - `id` string — A collection id
    - `related` object[]
      - `id` string — A concept id
    - `broader` object[]
      - `id` string — A concept id
    - `narrower` object[]
      - `id` string — A concept id
    - `matches` Matches
      - `broad` string[]
      - `close` string[]
      - `exact` string[]
      - `narrow` string[]
      - `related` string[]
    - `subordinate_arrays` object[]
      - `id` string — A collection id
    - `label` string
    - `uri` string
    - `concept_scheme` object
      - `uri` string
      - `labels` Label[]
        - `type` string, required
        - `language` string, required — IANA language tag
        - `label` string, required
  - CollectionDetail
    - `id` string — If the provider is set to have a manual id_generation_strategy
    - `type` 'collection', required
    - `labels` Label[], required
      - `type` string, required
      - `language` string, required — IANA language tag
      - `label` string, required
    - `notes` Note[]
      - `note` string
      - `type` string
      - `language` string
      - `markup` string, nullable
    - `sources` Source[]
      - `citation` string
      - `markup` string, nullable
    - `member_of` object[]
      - `id` string — A collection id
    - `members` object[]
      - `id` string — A concept or collection id
    - `superordinates` object[]
      - `id` string — A concept id
    - `infer_concept_relations` boolean
    - `label` string
    - `uri` string

## Other responses

- `400` — The concept or collection could not be edited because the submitted json was invalid due to eg. validation errors.
- `404` — The conceptscheme `scheme_id` or the concept or collection `c_id` does not exist.
- `405` — The concept or collection could not be edited because the conceptscheme `scheme_id` is a readonly conceptscheme.
- `500` — OpenAPI request/response validation failed

---

[API](https://skmtc.net/onroerenderfgoed/apis/atramhasis-api.md) · [All operations](https://skmtc.net/onroerenderfgoed/apis/atramhasis-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onroerenderfgoed/atramhasis-api/versions/c2d0b54078a2/schema)
