API keys tools
All tool areas. Each tool acts within your access.
API keys
list_api_keys
List API keys in this organization: yours, or everyone's if you have api_keys:write across the organization. Names, what each may do, when it was last used; never the keys themselves.
Reads · Members of an organization · Needs api_keys:write
No input.
Output
apiKeysapiKeys[]apiKeys[].idapiKeys[].nameapiKeys[].startThe key's first characters, to recognize it
apiKeys[].permissionsapiKeys[].permissions[]apiKeys[].createdByapiKeys[].createdAtapiKeys[].expiresAtapiKeys[].lastUsedAtapiKeys[].revoked
revoke_api_key
Revoke an API key: it stops working on its next call, for good. Yours, or anyone's with api_keys:write across the organization. Returns a preview to confirm.
Changes · Members of an organization · Needs api_keys:write
Input
apiKeyIdThe api key's id, from list_api_keys
Output
idnamestartThe key's first characters, to recognize it
permissionspermissions[]createdBycreatedAtexpiresAtlastUsedAtrevoked