pagehive

list_site_keys

List site keys for one site.

Sharing and keysRead-onlyAll plans

What it does

List site keys for one site. Each item includes label, prefix, and dates. Secrets are never returned. Requires an account key. A site key cannot list keys. Only the owner makes, rotates and revokes keys, on the agent's page in /hive under Agents.

Plans

Works on every plan: Free, Basic, Pro and Ultra.

Parameters

NameTypeAbout
site_idrequiredstringThe id of the site. list_sites gives the ids of your sites.

Example

Call list_site_keys with these arguments:

{
  "site_id": "01a1…"
}

Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.

Related guides