Add grants to a connection
Add grants to grant permissions on a connection to specific users or teams.
### Usage notes
- See [Data permissions overview](https://help.sigmacomputing.com/docs/data-permissions-overview) for details about permissions that can be granted on a connection.
- Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.
- Specify the team or user IDs to grant permissions:
- Retrieve the **memberId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint.
- Retrieve the **teamId** by calling the [/v2/teams](https://help.sigmacomputing.com/reference/list-teams) endpoint.
### Usage scenarios
- Grant a specific team `Can use` access to a connection.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
connectionId
Request
The request body.
grants
Response
The response body.

