-h, --help.
xata keys user— Manage API keys for the current userxata keys user list— List all API keys of the current userxata keys user create— Create a new API keyxata keys user delete— Delete one or more API keys
xata keys organization— Manage API keys for an organizationxata keys organization list— List all API keys for an organizationxata keys organization create— Create a new API keyxata keys organization delete— Delete one or more API keys
user
Manage API keys for the current useruser list
List all API keys of the current userboolean
default:"false"
Output in JSON format
string
The profile to use
xata keys user ls
user create
Create a new API key Creates a key for the account you are logged in with. It is printed once, when it is created, and cannot be read again.string
API key name
string
Expiry, as a date or a phrase such as ‘in 1 week’, or ‘never’
boolean
default:"false"
Output in JSON format
string
The profile to use
user delete
Delete one or more API keysboolean
default:"false"
Output in JSON format
string
The profile to use
string
IDs of the keys to delete
organization
Manage API keys for an organization Aliases:xata keys org
organization list
List all API keys for an organizationstring
Organization ID
boolean
default:"false"
Output in JSON format
string
The profile to use
xata keys organization ls
organization create
Create a new API key Creates a key for an organization rather than for an account. It is printed once, when it is created, and cannot be read again.string
Organization ID
string
API key name
string
Expiry, as a date or a phrase such as ‘in 1 week’, or ‘never’
boolean
default:"false"
Output in JSON format
string
The profile to use
organization delete
Delete one or more API keysstring
Organization ID
boolean
default:"false"
Output in JSON format
string
The profile to use
string
IDs of the keys to delete