CLI resource commands
CLI commands for users, organizations, authorization, OAuth apps, MCP auth, flags, audit logs, Pipes, Vault, BYOK, organization API keys, SSF streams and sign-in security.
This page lists the resource commands from CLI source commit 961a1004b384eadbb39fa6acdb7dc55826897603. Check ohauthcat <group> --help in your own build before relying on a flag.
How they work
Section titled “How they work”- Every command uses the selected profile’s credentials or
OHAUTHCAT_API_KEY, and prints a table, or JSON with the global--jsonflag. - Commands that send a body take
--data '<json object>or' --data-file <path>(-reads stdin). - List commands take
--limit(1 to 100) and--after <cursor>; when more results exist, the CLI prints the--aftervalue to use. - Time filters take RFC 3339 times;
--frommust be before--to. - Every POST carries an
Idempotency-Key, and rate-limited calls are retried twice. - Errors show the error code only, never raw server text.
Commands
Section titled “Commands”| Group | Subcommands | Docs |
|---|---|---|
ohauthcat users |
list (--email, --organization), get, create, update, delete, factors, identities, sessions list, sessions revoke, sessions revoke-all |
User management |
ohauthcat invites |
list (--organization), create, revoke |
Invitations |
ohauthcat orgs |
list (--domain, --external-id), get, create, update, delete |
Concepts |
ohauthcat roles |
list (--organization), get, create, update, delete |
Authorization |
ohauthcat permissions |
list, get, create, update, delete |
Authorization |
ohauthcat m2m-clients |
list (--organization), get, create, update, revoke, rotate-secret |
Machine-to-machine |
ohauthcat oauth-apps |
list, get, create, update, delete, grants list (--user, --client, --organization), grants revoke |
OAuth provider |
ohauthcat mcp-auth |
resources list, resources get, resources create, resources update, resources delete, resources metadata, scopes list, scopes set, scopes delete |
Protect your MCP server |
ohauthcat bot-protection |
get, set, detections (--flow, --action, --since, --until) |
Bot protection |
ohauthcat sign-in-hooks |
list, get, create, update, delete, rotate-secret |
Sign-in hooks |
ohauthcat risk-rules |
get, set, delete |
Risk signals |
ohauthcat slo |
get <connection>, set <connection> |
Single logout |
ohauthcat trusted-issuers |
list, create, delete |
Trusted tokens |
ohauthcat sign-ins |
list (--from, --to, --status, --email, --connection, --organization) |
Sign-in history |
ohauthcat email |
test |
Email notices |
ohauthcat audit-logs |
emit, list, get, export, schemas list, schemas get, schemas create |
Audit Logs |
ohauthcat flags |
list, get, create, update, delete, evaluate |
Feature Flags |
ohauthcat pipes connections |
list (--organization, --user, --provider), get, revoke |
Pipes |
ohauthcat vault |
encrypt, decrypt, keys list, keys create, keys rotate |
Vault |
ohauthcat byok keys |
list, get |
BYOK |
ohauthcat api-keys |
list <org>, get <org> <key>, create <org>, roll <org> <key>, revoke <org> <key>, secrets list, secrets create, secrets revoke |
Organization API keys |
ohauthcat allowed-intents |
get <org>, set <org> |
Organization API keys |
ohauthcat ssf streams |
list, get, create, update, delete, verify (optional --data with a state) |
Access signals |
audit-logs list and audit-logs export filter with --organization, --action, --actor, --target, --from and --to; export writes CSV, or JSON with --format json. api-keys create, roll and secrets create print the new secret once; store it straight away. vault encrypt takes --organization, --key and --plaintext or --plaintext-file; vault decrypt takes --organization and --ciphertext.