Waiting for engine...
Skip to main content

spacesByAccountGroupIds

Get Spaces whose accountGroupId matches one of the provided accountGroupIds. Intended for internal service-to-service calls (e.g. spaces-embed-service) to resolve which Space(s) a child user belongs to via their account-group memberships.

A maximum of 100 accountGroupIds may be provided per request; requests exceeding this limit are rejected with an error.

An example of the request is as follows:

query {
spacesByAccountGroupIds(accountGroupIds: ["48e07102-b243-4caf-8fd7-59b7db7e764b"]) {
id
name
}
}

spacesByAccountGroupIds(
accountGroupIds: [ID!]!
): [Space!]

Arguments

spacesByAccountGroupIds.accountGroupIds ● [ID!]! non-null scalar miscellaneous

Type

Space object catalog-service

Represents a space containing its identity, metadata, ownership details, shared iPacks, catalog artifacts, account group, theme, and related configuration information.

On this Page