Skip to main content

diagrid agent access revoke

Revoke a caller's access to invoke an Agent

diagrid agent access revoke <agent> [flags]

Examples


# Remove order-api's access rule (it falls back to the default action).
diagrid agent access revoke my-agent --project my-project --caller order-api

# Reset the default action to the baseline (allow).
diagrid agent access revoke my-agent --project my-project --caller '*'

Options

-p, --project string Name of existing project
--caller string ID of the caller to revoke (use '*' to reset the default action)
-w, --wait Wait for long-running resource update to finish
--approve Skip confirmation prompt
-y, --yes Skip confirmation prompt
-h, --help help for revoke

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO