Book a demo

← Documentation

ol list api-keys

You list all your account-level API keys by executing the ol list api-keys command. Account-level API keys are associated with an account and, in contrast to user-level API keys, are not revoked when the user is deleted from the account.

Admin users can also view the account-level API keys on their OL Hub user profile page.

Rules

  • Log in to the OL Hub with an account-level API key.

Syntax

ol list api-keys [OPTIONS]

Options

--limit,-l

The total number of API keys to return.

--offset,-o

The API key list starting point.

--filter,-f

The regular expression to filter the list by API key name.

Example

Example screenshot List all account-level API keys

> ol list api-keys
$ ol list api-keys

ol list api-keys screenshot List up to 100 account-level API keys, starting from the 11th

> ol list api-keys --limit 100 --offset 10
$ ol list api-keys --limit 100 --offset 10

ol list api-keys screenshot List account-level API keys whose name contains the word "test"

> ol list api-keys -f test
$ ol list api-keys -f test

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy