---
title: "Update tokens of existing concept"
method: PUT
path: "/concept/{cname}"
tags: ["Concept"]
---

# Update tokens of existing concept

`PUT /concept/{cname}`

## Path parameters

- `cname` string, required

## Request body

- Condition[]
  - `string` string
  - `type` 0 | 1 | 2 | 3 — The type of the condition. Available types can be fetched with a get request to \keytype
  - `TYPE_` 'TOKEN' | 'REGEXP' | 'CONCEPT' | 'NER' — String description of the condition type
  - `case_sensitive` boolean

## Response `200`

OK

- Condition[]
  - `string` string
  - `type` 0 | 1 | 2 | 3 — The type of the condition. Available types can be fetched with a get request to \keytype
  - `TYPE_` 'TOKEN' | 'REGEXP' | 'CONCEPT' | 'NER' — String description of the condition type
  - `case_sensitive` boolean

---

[API](https://skmtc.net/megagonlabs/apis/ruler-api-specification.md) · [All operations](https://skmtc.net/megagonlabs/apis/ruler-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/megagonlabs/ruler-api-specification/versions/3dab7cc0d48e/schema)
