---
title: "oz0 quota set"
description: "Set what a subject may use on top of the tenant's budget, replacing its quota: --usd a calendar month, --running jobs at once, --per-day jobs started per UTC day."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/quota/set"
---
# oz0 quota set

> Set what a subject may use on top of the tenant's budget, replacing its quota: --usd a calendar month, --running jobs at once, --per-day jobs started per UTC day.

For: Operators and developers looking up a command.

Set what a subject may use on top of the tenant's budget, replacing its quota: --usd a calendar month, --running jobs at once, --per-day jobs started per UTC day. A limit left out is no limit, and a quota without limits is removed.

The subject is user:\<name> (or just the name), apikey:\<id>, service:\<name> (service:webhook/\<flow> for a flow's webhook), operator:\<name> for an operator certificate, team:\<name>, or a default: '*' for every user, key and service without a quota of its own, 'team:*' for every team.

## Usage

```bash
oz0 quota set <subject> [flags]
```

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --json
      </code>
    </td>
    
    <td>
      bool
    </td>
    
    <td>
      
    </td>
    
    <td>
      print JSON instead of a table
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --per-day
      </code>
    </td>
    
    <td>
      int
    </td>
    
    <td>
      
    </td>
    
    <td>
      most jobs it may start per UTC day
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --running
      </code>
    </td>
    
    <td>
      int
    </td>
    
    <td>
      
    </td>
    
    <td>
      most of its jobs that may run at once
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --tenant
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      tenant
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --usd
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      most its jobs may spend in a calendar month (UTC), in US dollars
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
