---
title: "Rotate skill namespace token"
method: POST
path: "/agent/skills/namespaces/{id}/rotate-token"
tags: ["Agents"]
---

# Rotate skill namespace token

`POST /agent/skills/namespaces/{id}/rotate-token`

## Path parameters

- `id` string, required

## Response `200`

New bearer token issued. The previous token is invalidated immediately. `token` is shown exactly once.

## Other responses

- `401` — Authentication required
- `403` — Insufficient permissions
- `404` — Namespace not found

## Changes

- **2026-05-19** `5b7e64e6d6f9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/casemark/apis/case-dev-api/changes/agent/skills/namespaces/:id/rotate-token/post.md)

---

[API](https://skmtc.dev/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.dev/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/casemark/case-dev-api/revisions/5b7e64e6d6f9/schema)
