---
title: "Copy another tier's quota template (admin)"
method: POST
path: "/admin/tiers/{code}/quotas/copy-from/{source_code}"
tags: ["admin"]
---

# Copy another tier's quota template (admin)

`POST /admin/tiers/{code}/quotas/copy-from/{source_code}`

## 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}/quotas/copy-from/{source_code}`
- Auth: one of:
  - HTTP bearer
  - OpenID Connect (`https://account.qualityclouds.com//realms/ai-production/.well-known/openid-configuration`)

Replaces this tier's quotas with a copy of the source tier's, as a starting point to edit. Requires the Keycloak 'admins' group.

## Path parameters

- `code` string, required
- `source_code` string, required

## Response `200`

Successful Response

- AdminTierQuotaResponse[]
  - `quota_key` string, required
  - `max_allowed` integer, required
  - `reset_period` string, nullable, 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)
