# pw endpoints permissions grant

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

## pw endpoints permissions grant

Grant endpoint access to a group or the whole organization

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

### Examples

```
  # Share with a group
  pw endpoints permissions grant --group data-scientists <endpoint>
  
  # Share with the entire organization
  pw endpoints permissions grant --org-wide <endpoint>
```

### Options

```
      --group string   Apply to a specific group
  -h, --help           help for grant
      --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
