Skip to content

Conversation

@tmilewski
Copy link
Member

Description

Adds the Blocklist Identifier endpoints to the Backend API client.

  import { createClerkClient } from '@clerk/backend';

  const clerkClient = createClerkClient(...);
  await clerkClient.blocklistIdentifiers.getBlocklistIdentifierList();
  await clerkClient.blocklistIdentifiers.createBlocklistIdentifier({ identifier });
  await clerkClient.blocklistIdentifiers.deleteBlocklistIdentifier('blocklistIdentifierId');

Updates the ability paginate Allowlist Identifier reponses and access identifierType and instanceId from the response.

  import { createClerkClient } from '@clerk/backend';

  const clerkClient = createClerkClient(...);
  const res = await clerkClient.blocklistIdentifiers.getAllowlistIdentifierList({ limit, offset });

ECO-580

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@tmilewski tmilewski self-assigned this Apr 14, 2025
@vercel
Copy link

vercel bot commented Apr 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2025 3:29pm

@changeset-bot
Copy link

changeset-bot bot commented Apr 14, 2025

🦋 Changeset detected

Latest commit: 101ab4d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
@clerk/backend Minor
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/remix Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

@tmilewski tmilewski merged commit 85ed003 into main Apr 14, 2025
31 checks passed
@tmilewski tmilewski deleted the tm/eco-580-blocklist-identifiers branch April 14, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants