---
title: "create_access_label"
method: POST
path: "/v1/access-labels"
tags: ["access-labels"]
---

# create_access_label

`POST /v1/access-labels`

## Request

- Base URL: `https://ndi-api.nace.ai`
- URL: `https://ndi-api.nace.ai/v1/access-labels`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/nace/apis/ndi-platform-api/docs/v1/access-labels/post.ts> (a function with typed inputs; its response is checked against the schema)

Add a label to the tenant catalog.

## Request body

- CreateAccessLabelRequest
  - `description` string, required
  - `name` string, required

## Response `201`

Successful Response

- AccessLabelCatalogEntry: One reusable label in the tenant catalog.
  - `access_label_id` string, uuid, required
  - `created_at` string, date-time, required
  - `description` string, required
  - `name` string, required
  - `updated_at` string, date-time, required

## Other responses

- `504`: Gateway Timeout
- `default`: Typed error envelope used by every 4xx and 5xx. ``error.code`` distinguishes the failure; HTTP status is a consequence of the code.

---

[API](https://skmtc.dev/nace/apis/ndi-platform-api.md) - [All operations](https://skmtc.dev/nace/apis/ndi-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nace/apis/ndi-platform-api/revisions/d002a3589a67?raw)
