---
title: "oz0 oidc remove"
description: "Remove an identity provider."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/oidc/remove"
---
# oz0 oidc remove

> Remove an identity provider.

For: Operators and developers looking up a command.

Remove an identity provider. Everyone signed in through it is signed out, its links to accounts and its offers
to link one (user link --provider) go, and so do the tenant memberships its group rules made. The accounts it
created stay, and so do cluster roles its rules set: an account with no password and no other link can no longer
sign in.

To stop sign-ins through a provider but keep it, turn it off instead (oidc set ID --disabled), which also
signs out everyone who signed in through it.

## Usage

```bash
oz0 oidc remove ID [flags]
```

## 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.
