---
title: "Create cable group"
method: POST
path: "/{org_slug}/cable-groups"
tags: ["Cables"]
---

# Create cable group

`POST /{org_slug}/cable-groups`

## Request

- Base URL: `https://api.obelinf.com`
- URL: `https://api.obelinf.com/{org_slug}/cable-groups`
- Auth: HTTP bearer

Create cable group

## Path parameters

- `org_slug` string, required

## Request body

- object
  - `name` string, required
  - `slug` string, required
  - `description` string
  - `parent_id` string

## Response `201`

Cable group created

- object
  - `cable_group` object, required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `updated_at` string, required
    - `cable_count` number
    - `description` string, nullable
    - `parent_id` string, nullable
    - `parent_name` string, nullable
  - `tags` object[], required
    - `id` string, required
    - `tag_id` string, required
    - `tag_name` string, required
    - `tag_color` string, nullable

## Other responses

- `400`: Validation Error

---

[API](https://skmtc.dev/obelinf/apis/obelinf-api.md) · [All operations](https://skmtc.dev/obelinf/apis/obelinf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/obelinf/apis/obelinf-api/revisions/463fcf791828?raw)
