Skip to content

CERNAccess: Fix bulk deletion - #244

Merged
ThiefMaster merged 1 commit into
indico:masterfrom
ThiefMaster:cern-access-bulk-delete
Aug 4, 2026
Merged

ThiefMaster merged 1 commit into
indico:masterfrom
ThiefMaster:cern-access-bulk-delete

Conversation

@ThiefMaster

Copy link
Copy Markdown
Member

ADaMS silently removed support for bulk deletion using DELETE with a request body recently.
They now added a new API for bulk deletion (POST, same payload as the old one).

We now use the id-in-path version of the DELETE API when revoking a single badge (because it feels cleaner to do so), and the bulk API when there's more than one badge to revoke.

@ThiefMaster
ThiefMaster force-pushed the cern-access-bulk-delete branch from cabbf74 to 74a8d23 Compare August 3, 2026 09:17
@ThiefMaster
ThiefMaster merged commit 15e0c01 into indico:master Aug 4, 2026
10 checks passed
@ThiefMaster
ThiefMaster deleted the cern-access-bulk-delete branch August 4, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant