Skip to content

Commit 8ff853d

Browse files
docs: add RBAC role tables to templates and tools endpoints (#3187) (#3188)
Refs #3185, #3186.
1 parent 30b9593 commit 8ff853d

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docs/api-reference.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,10 @@ GET /v1/tools
12851285

12861286
Lists all available MCP tools with their schemas.
12871287

1288+
| Role | Required |
1289+
|------|----------|
1290+
| admin, operator, viewer | Yes |
1291+
12881292
```bash
12891293
curl http://localhost:9100/v1/tools \
12901294
-H "Authorization: Bearer $TOKEN"
@@ -2898,6 +2902,10 @@ GET /v1/templates
28982902

28992903
Lists all registered session templates.
29002904

2905+
| Role | Required |
2906+
|------|----------|
2907+
| admin, operator, viewer | Yes |
2908+
29012909
```bash
29022910
curl http://localhost:9100/v1/templates \
29032911
-H "Authorization: Bearer $TOKEN"
@@ -2915,6 +2923,10 @@ POST /v1/templates
29152923

29162924
Creates a reusable session template with optional `{{variable}}` substitution. Rate limited: 60 req/min.
29172925

2926+
| Role | Required |
2927+
|------|----------|
2928+
| admin, operator | Yes |
2929+
29182930
```bash
29192931
curl -X POST http://localhost:9100/v1/templates \
29202932
-H "Authorization: Bearer $TOKEN" \
@@ -2956,6 +2968,10 @@ GET /v1/templates/:id
29562968

29572969
Returns a single template by ID.
29582970

2971+
| Role | Required |
2972+
|------|----------|
2973+
| admin, operator, viewer | Yes |
2974+
29592975
```bash
29602976
curl http://localhost:9100/v1/templates/tpl-abc123 \
29612977
-H "Authorization: Bearer $TOKEN"
@@ -2979,6 +2995,10 @@ PUT /v1/templates/:id
29792995

29802996
Partially updates a template. Only include fields to change.
29812997

2998+
| Role | Required |
2999+
|------|----------|
3000+
| admin, operator | Yes |
3001+
29823002
```bash
29833003
curl -X PUT http://localhost:9100/v1/templates/tpl-abc123 \
29843004
-H "Authorization: Bearer $TOKEN" \
@@ -3006,6 +3026,10 @@ DELETE /v1/templates/:id
30063026

30073027
Deletes a template by ID.
30083028

3029+
| Role | Required |
3030+
|------|----------|
3031+
| admin, operator | Yes |
3032+
30093033
```bash
30103034
curl -X DELETE http://localhost:9100/v1/templates/tpl-abc123 \
30113035
-H "Authorization: Bearer $TOKEN"

0 commit comments

Comments
 (0)