Skip to main content
Query

profileSpaceGrants

Returns the spaces that manage the profile. Requires being signed in and able to edit the profile (an owner or admin member, or a member of a space that manages it).

Arguments

  • profileIdID!

    ID of the profile.

Returns

[ProfileSpaceGrant!]!

Example

query ProfileSpaceGrants($profileId: ID!) {
  profileSpaceGrants(profileId: $profileId) {
    createdAt
    role
    spaceId
    spaceName
  }
}