Skip to main content

addServiceAccountToGroup

Add a service account to a group, granting it the group's access level.

The service account immediately gains all permissions associated with the group's role. A service account can belong to multiple groups — its effective permissions are the union of all group permissions. Requires organization_admin permissions.

addServiceAccountToGroup(
organizationId: ID!
serviceAccountId: ID!
groupId: ID!
): ServiceAccountGroupPayload

Arguments

addServiceAccountToGroup.organizationId ● ID! non-null scalar {#organization-id}

Your organization's unique identifier.

addServiceAccountToGroup.serviceAccountId ● ID! non-null scalar {#service-account-id}

The service account to add.

addServiceAccountToGroup.groupId ● ID! non-null scalar {#group-id}

The group to add the service account to.

Type

ServiceAccountGroupPayload object