---
title: "Create a new scope"
method: POST
path: "/scopes"
---

# Create a new scope

`POST /scopes`

Creates a new scope

## Request body

- CreateScopeRequest
  - `scope` string, required — The name of a scope. This must not be @ prefixed.
  - `description` string, required — The description of the scope.

## Response `200`

OK

- Scope — Partial scope information.
  - `scope` string, required — The name of a scope. This must not be @ prefixed.
  - `description` string, required — The description of the scope.
  - `createdAt` string, date-time, required — The date and time when the scope was created.
  - `updatedAt` string, date-time, required — The date and time when the scope was last updated.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized

---

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