connected-apps
Apps and MCP clients connected with OAuth. The `machinemail connected-apps` commands: arguments, flags, examples and the API routes they call.
Apps and MCP clients connected with OAuth.
| Command | Summary |
|---|---|
connected-apps delete | Disconnect app |
connected-apps list | List connected apps |
Every command also takes the global flags.
connected-apps delete
Disconnect app.
Also: machinemail connected-apps rm.
Revokes the grant: its refresh token and every access token issued from it stop working immediately (401 on /mcp and /v0). Returns the grant as it was. Requires an organization-scoped credential with api_key_delete.
Arguments
<grant-id>stringRequiredID of the grant (oag_...).
Examples
API
connected-apps list
List connected apps.
Also: machinemail connected-apps ls.
Apps and MCP clients people in the organization connected with OAuth. Requires an organization-scoped credential with api_key_read; pod, inbox and sandbox credentials get 403.
Flags
--limit <n>integerMaximum number of items to return. Default 50, maximum 500; larger values are capped.
--page-token <value>stringnext_page_token from the previous page.
--ascendingbooleanSort oldest first.
--allbooleanFollow next_page_token and return every page.