Orgs
Manage organizations, members, and invitations.
Manage organizations, members, and invitations.
elnora orgs acceptInvite
Accept an organization invitation by token
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
elnora orgs billing [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
orgId | uuid | yes | Organization ID |
elnora orgs cancelInvite
Cancel a pending organization invitation
Destructive
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
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
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
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
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
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
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
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
elnora orgs invite [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
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
elnora orgs listelnora orgs members
List members of an organization
Read-only
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
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
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
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
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
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
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
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 |