---
title: "Replace the gated-tool template of a tier (admin)"
method: PUT
path: "/admin/tiers/{code}/tools"
tags: ["admin"]
---

# Replace the gated-tool template of a tier (admin)

`PUT /admin/tiers/{code}/tools`

## Request

- Base URL: `https://api.qualityclouds.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qualityclouds.ai/admin/tiers/{code}/tools`
- Auth: one of:
  - HTTP bearer
  - OpenID Connect (`https://account.qualityclouds.com//realms/ai-production/.well-known/openid-configuration`)

Replaces the whole gated-tool set: a tool absent from the body is no longer templated for the tier. Requires the Keycloak 'admins' group.

## Path parameters

- `code` string, required

## Request body

- AdminTierToolsRequest: PUT /admin/tiers/{code}/tools — replace the whole gated-tool template.
  - `tools` AdminTierToolItem[], required
    - `tool_id` string, required: A tool id from the tools catalogue.
    - `included` boolean, required: Whether the tier unlocks this tool.

## Response `200`

Successful Response

- AdminTierToolResponse[]
  - `tool_id` string, required
  - `included` boolean, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Validation Error

---

[API](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api.md) · [All operations](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api/revisions/250c849925af?raw)
