# 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

  # Remove multiple callers at once.
  diagrid agent access revoke my-agent --project my-project --callers order-api,payment-svc

  # 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 a single caller to revoke (use '*' to reset the default action)
      --callers strings   Comma-separated caller IDs to revoke
  -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

- [diagrid agent access](./access.md)	 - Manage which callers may invoke an Agent
