Magidoc

updateMembersPermissions
Mutation

Adds, removes, or changes project access for specified members or teams. Applies the supplied permission, sharing type, and automation flag to every target; use permission REMOVE to remove access.

Arguments

#

projectId

ID !
Non-null

Project ID to update members permissions for

memberIds = []

[ID !]

User IDs to add as members

teamIds = []

[ID !]

Team IDs to add as members

permission

Non-null

Permission to set for the members. Can be one of FULL_ACCESS, READ_ONLY, REMOVE.

sharingType

Non-null

Sharing type to set for the members. Can be one of me, custom, everyone.

Response

#

Returns Project .

Example

#