# Orgs

Source: https://docs.elnora.ai/docs/cli/orgs
Last modified: 2026-09-08T22:34:42-06:00

> Manage organizations, members, and invitations.

Manage organizations, members, and invitations.

## elnora orgs acceptInvite

Accept an organization invitation by token

```bash
elnora orgs acceptInvite [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `token` | string | yes | Invitation token |

## elnora orgs billing

Get billing status for an organization

*Read-only*

```bash
elnora orgs billing [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs cancelInvite

Cancel a pending organization invitation

*Destructive*

```bash
elnora orgs cancelInvite [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `invitationId` | uuid | yes | Invitation ID to cancel |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs create

Create a new organization

```bash
elnora orgs create [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `description` | string | no | Organization description |
| `name` | string | yes | Organization name |

## elnora orgs delete

Delete an organization

*Destructive*

```bash
elnora orgs delete [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID to delete |
| `yes` | boolean | no | Skip confirmation prompt Default: `false`. |

## elnora orgs directory

Search organization members by name or email (Share-modal typeahead)

*Read-only*

```bash
elnora orgs directory [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID |
| `query` | string | yes | Name or email substring to match (minimum 2 characters) |

## elnora orgs files

List files belonging to an organization

*Read-only*

```bash
elnora orgs files [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID |
| `page` | integer | no | Page number Default: `1`. |
| `pageSize` | integer | no | Results per page Default: `25`. |

## elnora orgs get

Get details of a specific organization

```bash
elnora orgs get [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs invitationInfo

Get information about an invitation by token

*Read-only*

```bash
elnora orgs invitationInfo [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `token` | string | yes | Invitation token |

## elnora orgs invitations

List pending invitations for an organization

*Read-only*

```bash
elnora orgs invitations [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs invite

Invite a user to an organization by email

*Idempotent*

```bash
elnora orgs invite [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | email | yes | Email address to invite |
| `orgId` | uuid | yes | Organization ID |
| `role` | string | no | Role to assign (default: Member) Default: `Member`. |

## elnora orgs list

List all organizations the current user belongs to

*Read-only*

```bash
elnora orgs list
```

## elnora orgs members

List members of an organization

*Read-only*

```bash
elnora orgs members [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs removeMember

Remove a member from an organization

*Destructive*

```bash
elnora orgs removeMember [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `membershipId` | uuid | yes | Membership ID of the member to remove |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs resendInvite

Resend an organization invitation email. Regenerates the token and extends the expiry by 7 days. Works on both pending and expired invitations, preserves the invitation ID.

*Idempotent*

```bash
elnora orgs resendInvite [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `invitationId` | uuid | yes | Invitation ID to resend |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs setAutotidy

Enable or disable Knowledge Base auto-tidy for an organization

*Idempotent*

```bash
elnora orgs setAutotidy [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `enabled` | boolean | no | Enable Knowledge Base auto-tidy (omit to disable) Default: `false`. |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs setDefault

Set an organization as the default

*Idempotent*

```bash
elnora orgs setDefault [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID to set as default |

## elnora orgs setStripe

Set the Stripe customer ID for an organization

*Idempotent*

```bash
elnora orgs setStripe [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `orgId` | uuid | yes | Organization ID |
| `stripeCustomerId` | string | yes | Stripe customer ID (e.g. cus_xxx) |

## elnora orgs update

Update an existing organization

*Idempotent*

```bash
elnora orgs update [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `description` | string | no | New organization description |
| `name` | string | no | New organization name |
| `orgId` | uuid | yes | Organization ID |

## elnora orgs updateRole

Update an organization member's role

*Idempotent*

```bash
elnora orgs updateRole [required options] [options]
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `membershipId` | uuid | yes | Membership ID of the member |
| `orgId` | uuid | yes | Organization ID |
| `role` | string | yes | New role to assign |
