Aller au contenu principal
Mutation

removeScriptCollaborator

Removes a collaborator's access to a screenplay and closes their open sessions on it. Requires edit access to the project.

Arguments

  • localeString

    Canonical content language of a SEQUENCE review; omit for the source review.

  • projectIdID!

    ID of the project.

  • screenplayIdID

    ID of the screenplay to remove them from. When omitted, they are removed from every screenplay of the project.

  • targetKindShareTargetKind

    SCREENPLAY (default) for the screenplay's text, SEQUENCE for 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
  }
}