Skip to main content
Mutation

setProfileVisibility

Changes who can find and open the profile. The change applies at once, outside the profile's draft. Returns the profile as its editor sees it. 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

Returns

Profile!

Example

mutation SetProfileVisibility($profileId: ID!, $visibility: ProfileVisibility!) {
  setProfileVisibility(profileId: $profileId, visibility: $visibility) {
    canEdit
    contentLocale
    coverImageAssetId
    createdAt
    departments
    displayName
    id
    kind
  }
}