# pw endpoints permissions revoke

> Source: https://parallelworks.com/docs/cli/pw/endpoints/permissions/revoke

## pw endpoints permissions revoke

Revoke endpoint access from a group or the whole organization

```
pw endpoints permissions revoke <name> [flags]
```

### Examples

```
  # Revoke a group's access
  pw endpoints permissions revoke --group data-scientists <endpoint>
  
  # Stop sharing with the entire organization
  pw endpoints permissions revoke --org-wide <endpoint>
```

### Options

```
      --group string   Apply to a specific group
  -h, --help           help for revoke
      --org string     Target organization (defaults to current context)
      --org-wide       Apply to the entire organization
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw endpoints permissions](/docs/cli/pw/endpoints/permissions)	 - Manage endpoint access for groups and the organization
