---
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

---

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