---
title: "add metadata definition to a space"
method: POST
path: "/spaces/{spaceId}/metadata"
tags: ["spaces"]
---

# add metadata definition to a space

`POST /spaces/{spaceId}/metadata`

If uri is not defined, the uri will be set as
"http://clowder.ncsa.illinois.edu/metadata/{uuid}#CamelCase"

## Path parameters

- `spaceId` string, required

## Request body

- object
  - `label` string, required
  - `type` string, required
  - `description` string, required
  - `uri` string

## Response `200`

OK

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/revisions/bcd187478e0d/schema)
