新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Delete Collaboration_ID using API - is that per item (folder/file)

回答済み
新規投稿

コメント

2件のコメント

  • 正式なコメント
    Kourtney

    Marin, 

    There is an individual collaboration ID for each piece of content. For example, if I am a collaborator on Folder A and Folder B, I will have two collaboration IDs. Therefore, to answer your original question, no deleting a collaboration_ID will not remove the user from all content they are collaborated on. 

    Best,

    Kourtney, Box Developer Advocate

    コメントアクション Permalink
  • Marin Botev

    Hi Kourtney,

    thank you for your reply!

    Could you please confirm which response field contains the collaboration_ID of the box_item (file/folder)?

    It seems I'm retrieving the incorrect response field "collab.id":

    ----------------

    collaborations = client.file(box_item_id).get_collaborations()

    for collab in collaborations:
          user_name = str(collab.accessible_by)
          collaboration_id = collab.id

    -------------

    Kind regards,

    Marin

    0
    コメントアクション Permalink

サインインしてコメントを残してください。