-h, --help.
xata organization list— List all organizationsxata organization describe— Describe an organizationxata organization create— Create a new organizationxata organization delete— Delete an organizationxata organization get— Get a field from an organization descriptionxata organization members— Manage organization membersxata organization members list— List all members of an organizationxata organization members invite— Send an invitation to join an organizationxata organization members remove— Remove a member from an organizationxata organization members set-role— Set the role of an organization member
xata organization invitations— Manage organization invitationsxata organization invitations list— List all invitations for an organizationxata organization invitations get— Get details of a specific invitationxata organization invitations create— Create and send an invitation to join an organizationxata organization invitations delete— Delete an invitationxata organization invitations resend— Resend an invitation
xata organization sso— Configure single sign-on for an organizationxata organization sso show— Show the domains and identity providers configured for an organizationxata organization sso domains— Claim and verify the email domains that sign in through your identity providersxata organization sso domains add— Claim an email domain and print the DNS record that proves you own itxata organization sso domains verify— Check the DNS record for a claimed domain and mark it verifiedxata organization sso domains remove— Remove a claimed domain from an organization
xata organization sso providers— Connect the identity providers that sign in each verified domainxata organization sso providers add— Connect an identity provider to a verified domainxata organization sso providers remove— Disconnect an identity provider from an organizationxata organization sso providers enforce— Require members on a domain to sign in through its identity providerxata organization sso providers test— Print a link that tests sign-in through an identity provider
list
List all organizationsstring
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization ls
describe
Describe an organizationstring
Organization ID
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization view, xata organization show
create
Create a new organizationstring
required
Organization Name
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
delete
Delete an organizationstring
Organization ID
boolean
default:"false"
Do not ask for confirmation, assume yes.
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
get
Get a field from an organization descriptionstring
Organization ID
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
string
Organization name and/or field to get
members
Manage organization membersmembers list
List all members of an organizationstring
Organization ID
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization members ls
members invite
Send an invitation to join an organizationstring
Organization ID
string
Email address to invite
admin | editor
Role the new member holds once they accept
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization members add
members remove
Remove a member from an organizationstring
Organization ID
string
ID of the user to remove
boolean
default:"false"
Skip confirmation prompt
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization members delete, xata organization members rm
members set-role
Set the role of an organization memberstring
Organization ID
string
ID of the member
admin | editor
Role to grant
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
invitations
Manage organization invitationsinvitations list
List all invitations for an organizationstring
Organization ID
string
Filter by invitation status (pending or expired)
string
Filter by email address
string
Search invitations by email or name
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization invitations ls
invitations get
Get details of a specific invitationstring
Organization ID
string
ID of the invitation to view
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization invitations show
invitations create
Create and send an invitation to join an organizationstring
Organization ID
string
Email address to invite
admin | editor
Role the new member holds once they accept
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization invitations add, xata organization invitations invite
invitations delete
Delete an invitationstring
Organization ID
string
ID of the invitation to delete
boolean
default:"false"
Skip confirmation prompt
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization invitations rm, xata organization invitations remove
invitations resend
Resend an invitationstring
Organization ID
string
ID of the invitation to resend
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
sso
Configure single sign-on for an organization Claim an email domain, prove you own it with a DNS record, connect the identity provider its members sign in through, and then require it. Each verified domain has its own provider, so an organization can have several. See https://xata.io/docs/platform/sso.sso show
Show the domains and identity providers configured for an organizationstring
Organization ID
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization sso get
sso domains
Claim and verify the email domains that sign in through your identity providerssso domains add
Claim an email domain and print the DNS record that proves you own itstring
Organization ID
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
string
Domain to claim, such as acme.com
xata organization sso domains claim
sso domains verify
Check the DNS record for a claimed domain and mark it verifiedstring
Organization ID
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
string
Domain to verify, such as acme.com
sso domains remove
Remove a claimed domain from an organizationstring
Organization ID
boolean
default:"false"
Do not ask for confirmation, assume yes.
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
string
Domain to remove, such as acme.com
xata organization sso domains delete
sso providers
Connect the identity providers that sign in each verified domainsso providers add
Connect an identity provider to a verified domain Reads the client secret from —client-secret, the XATA_SSO_CLIENT_SECRET environment variable, or a prompt, so it need not appear in shell history. Provider types: google (Google Workspace), microsoft (Microsoft Entra ID), oidc (OpenID Connect). Every type except google needs —issuer-url.string
Organization ID
google | microsoft | oidc
Provider type
string
Verified domain this provider signs in
string
Issuer URL, required for every type except google
string
Client ID issued by the identity provider
string
Client secret issued by the identity provider
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
xata organization sso providers connect
sso providers remove
Disconnect an identity provider from an organizationstring
Organization ID
boolean
default:"false"
Do not ask for confirmation, assume yes.
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
string
Provider alias, as shown by xata organization sso show
xata organization sso providers delete
sso providers enforce
Require members on a domain to sign in through its identity provider Members on the domain lose the password form and the shared Google and GitHub buttons, so check the provider works withxata organization sso providers test before requiring it. Pass —disable to lift the requirement.
string
Organization ID
boolean
default:"false"
Stop requiring SSO instead of requiring it
boolean
default:"false"
Do not ask for confirmation, assume yes.
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
string
Provider alias, as shown by xata organization sso show
sso providers test
Print a link that tests sign-in through an identity provider Members are only sent to a provider once SSO is required on its domain. The link signs in through the provider directly, so you can check it works before runningxata organization sso providers enforce. Open it in a private window, since it signs that browser in as the account you test with.
string
Organization ID
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
string
Provider alias, as shown by xata organization sso show