Zum Hauptinhalt springen
Mutation

removeProjectUserGrant

Removes a user's role on one project. A space member falls back to the space's default project role; anyone else loses the access the grant gave. Returns true when there was a grant. Requires the project management access, covering both the removed role and the default it falls back to.

Argumente

  • projectIdID!

    ID of the project.

  • userIdID!

    ID of the user.

Rückgabe

Boolean!

Beispiel

mutation RemoveProjectUserGrant($projectId: ID!, $userId: ID!) {
  removeProjectUserGrant(projectId: $projectId, userId: $userId)
}