Skip to main content

removeServiceAccountFromGroup

Remove a service account from a group.

The service account immediately loses all permissions granted by this group. If this was its only group, the service account retains its identity but has no access to any resources. Requires organization_admin permissions.

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

Arguments

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

Your organization's unique identifier.

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

The service account to remove.

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

The group to remove the service account from.

Type

ServiceAccountGroupPayload object