---
title: "Create or replace a dimension"
method: PUT
path: "/v1/projects/{slug}/dimensions/{name}"
tags: ["context"]
---

# Create or replace a dimension

`PUT /v1/projects/{slug}/dimensions/{name}`

## Request

- Base URL: `https://innernet.live/api`
- URL: `https://innernet.live/api/v1/projects/{slug}/dimensions/{name}`
- Auth: HTTP bearer

Replaces the dimension body and writes a commit to the project history.

## Path parameters

- `slug` string, required
- `name` string, required

## Request body

- object
  - `content` string, required: Full markdown body
  - `commit_message` string

## Response `200`

Saved

## Other responses

- `404`: Error

---

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