---
title: "Reset a person's TrueFoundry tokens"
method: POST
path: "/v1/inference-providers/{inferenceProviderId}/truefoundry/members/{memberId}/reset-tokens"
tags: ["Inference Providers"]
---

# Reset a person's TrueFoundry tokens

`POST /v1/inference-providers/{inferenceProviderId}/truefoundry/members/{memberId}/reset-tokens`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/inference-providers/{inferenceProviderId}/truefoundry/members/{memberId}/reset-tokens`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

For a person TrueFoundry refuses a new key because they hold its maximum number of personal access tokens (attention reason token_limit). TrueFoundry can't list or delete only the tokens OpenWork created, so this revokes every personal access token the person holds in TrueFoundry, including ones they made themselves for other tools, then creates a new OpenWork key for them and returns their status. Requires the Manage Gateway providers permission and Gateway management; session callers must recently reauthenticate.

## Path parameters

- `inferenceProviderId` string, typeid, required
- `memberId` string, typeid, required

## Response `200`

Reset a person's TrueFoundry tokens

- object
  - `status` string, required
  - `message` string, nullable, required
  - `ready` boolean, required

## Other responses

- `400`: Invalid request or provider configuration.
- `401`: Sign-in required.
- `403`: Access denied or Gateway management disabled.
- `404`: Resource not found.
- `409`: Selection or resource conflict.

## Changes

- **2026-11-18** `fbba8745503c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/inference-providers/:inferenceProviderId/truefoundry/members/:memberId/reset-tokens/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/84fb0f99fb95?raw)
