Type Alias SharePatch

SharePatch: { op: "replace"; path: "/roles" | "/disabled"; value: string }[]

Type declaration

  • op: "replace"

    The operation to be performed.

  • path: "/roles" | "/disabled"

    Field of Share to be patched (updated).

  • value: string

    The value to be used within the operations.

    • roles: The roles assigned to the assigneeId.
    • disabled: To disable the share (effective ONLY for link shares).