Skip to main content
Question

Can't delete group_membership via API

  • May 27, 2025
  • 1 reply
  • 20 views

Forum|alt.badge.img

After a lot of simultaneous user delete and group_membership delete operations, some group_memberships are stuck. In admin console, it shows that there are users in the group, but not showing them inside, also users are already deleted.

If checking via API, they are shown in group/GROUP_ID/memberships endpoint, but attempting to delete them via DELETE on /group_memberships endpoint causes this error:

{
  "type": "error",
  "status": 404,
  "code": "not_found",
  "context_info": {
    "errors": [
      {
        "reason": "invalid_parameter",
        "name": "group_tag_user",
        "message": "Invalid value 'group_tag_user_36356814675'. 'group_tag_user' with value 'group_tag_user_36356814675' not found"
      }
    ]
  },
  "message": "Not Found",
  "request_id": "fdm4k5hpziqx9of5"
}

1 reply

Forum|alt.badge.img
  • Author
  • Box Employee
  • 34738 replies
  • May 27, 2025

Hi there, 

Welcome to Box Community and glad to assist! 

For your API related questions, please head over to  forum.box.com in order to work with our Developer team. 

Thanks for posting!