Grant a role to a team
Grant a role to a team, scoped to a resource or to the whole organization.
Every member of the team inherits the granted role on that scope.
Authorizations
Organization API key (sl_…).
Headers
The organization ID the request is scoped to.
Path Parameters
Body
The role to grant the team's members.
admin, editor, monitor_editor, viewer, team_creator The resource the role applies to. Omit to grant it across the whole organization. A usage group can only be granted the viewer role.
Response
Successful Response
A role granted to a team, with the scope it applies to.
The unique identifier of this role grant.
The role granted to the team's members.
admin, editor, monitor_editor, viewer, team_creator The resolved scope this grant applies to — its type, id and human readable display name. Falls back to the organization when the grant carries no narrower scope.
When the role was granted to the team — RFC 3339 UTC.
Snowflake organization this grant is scoped to, if any.
Snowflake account this grant is scoped to, if any.
Usage group this grant is scoped to, if any.

