---
title: "oz0 subject object"
description: "Record a person's objection to processing for one purpose (a purpose ID of the tenant's, as `run --purpose` names it)."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/subject/object"
---
# oz0 subject object

> Record a person's objection to processing for one purpose (a purpose ID of the tenant's, as `run --purpose` names it).

For: Operators and developers looking up a command.

Record a person's objection to processing for one purpose (a purpose ID of the tenant's, as `run --purpose` names it). A job about them that names the purpose is refused, and so is one that names no purpose when its agent declares this one (it may be for it); jobs for other purposes run. Their running jobs that named the purpose are cancelled within seconds. --lift ends the objection, as a governance change with a reason. The tenant's admins may.

## Usage

```bash
oz0 subject object SUBJECT --purpose PURPOSE --reason REASON [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>
        --lift
      </code>
    </td>
    
    <td>
      bool
    </td>
    
    <td>
      
    </td>
    
    <td>
      lift the objection instead (another admin may need to approve it)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --purpose
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      the purpose the person objects to (required)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --reason
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      why, such as the request it answers (required; default $OZ0_REASON; at most 500 characters)
    </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>
  
  <tr>
    <td>
      <code>
        --tenant
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      the tenant
    </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.
