Box Developerドキュメント

Bulk delete external users

ガイド ユーザー Bulk delete external users

Bulk delete external users

You can remove up to 100 external users from your enterprise using API. This API endpoint removes access to all types of content you invited the listed external users to collaborate on.

To remove the external users, call the [POST /external_users/post_external_users_submit_delete_job][POST /external_users/post_external_users_submit_delete_job].

cURL
curl -X -L POST "https://api.box.com/2.0/external_users/external_users_submit_delete_job" \
     -H "authorization: Bearer <ACCESS_TOKEN>" \
     -d '{
      "external_users":
        "type": "array"
        "description": "List of external users to delete."
        "items":
          "$ref: #/components/schemas/UserReference"
      }'

This job runs in the background, and sends a completion report listing deletion status for each user when it's finished.

When you delete external users, their pending collaboration invites are not deleted.