---
title: "Reset Role Template Cache"
method: POST
path: "/api/admin/roles/{role_id}/templates/{filename}/reset"
tags: ["admin-roles"]
---

# Reset Role Template Cache

`POST /api/admin/roles/{role_id}/templates/{filename}/reset`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/roles/{role_id}/templates/{filename}/reset`
- Auth: HTTP bearer

Invalidate the Redis cache for a role template.

## Path parameters

- `role_id` string, uuid, required
- `filename` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
