---
title: "Block one member's LLM provider credential"
method: POST
path: "/v1/llm-providers/{llmProviderId}/member-credentials/{orgMembershipId}/block"
tags: ["LLM Providers"]
---

# Block one member's LLM provider credential

`POST /v1/llm-providers/{llmProviderId}/member-credentials/{orgMembershipId}/block`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/llm-providers/{llmProviderId}/member-credentials/{orgMembershipId}/block`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Requires the Manage people's provider keys permission. Marks one member's credential on the provider as blocked: it is no longer used for inference and the member can neither delete nor overwrite it. Storing a new credential for that member through the admin PUT endpoint is the unblock path.

## Path parameters

- `llmProviderId` string, typeid, required
- `orgMembershipId` string, typeid, required

## Response `200`

Member credential blocked.

- LlmProviderMemberCredentialSummary
  - `state` 'active' | 'blocked' | 'stale' | 'error', required
  - `version` integer, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: The provider or member id is invalid.
- `401`: The caller must be signed in.
- `403`: The caller lacks the Manage people's provider keys permission.
- `404`: The provider or member credential could not be found.

## Changes

- **2026-10-01** `df3754993784`: 1 info
  - added the optional property `message` to the response with the `400` status
- **2026-09-11** `bb8ff73e4ad3`: 2 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `denApiKey` was added to the API
- **2026-09-04** `d3984673ccd1`: 1 info
  - added the optional property `capability` to the response with the `400` status
- **2026-08-27** `3f52e8fe4c1b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/llm-providers/:llmProviderId/member-credentials/:orgMembershipId/block/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) · [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/e6eb4e5ce8a3?raw)
