removeScriptCollaborator
Removes a collaborator's access to a screenplay and closes their open sessions on it. Requires edit access to the project.
Arguments
localeStringCanonical content language of a SEQUENCE review; omit for the source review.
projectIdID!ID of the project.
screenplayIdIDID of the screenplay to remove them from. When omitted, they are removed from every screenplay of the project.
targetKindShareTargetKindSCREENPLAY(default) for the screenplay's text,SEQUENCEfor its AV script under review.userIdID!ID of the collaborator's user account.
Renvoie
MutationSuccess!Exemple
mutation RemoveScriptCollaborator($locale: String, $projectId: ID!, $screenplayId: ID, $targetKind: ShareTargetKind, $userId: ID!) {
removeScriptCollaborator(
locale: $locale
projectId: $projectId
screenplayId: $screenplayId
targetKind: $targetKind
userId: $userId
) {
success
}
}