---
title: "Enable or disable a yield source token for toolbox Admin"
method: PATCH
path: "/v3/toolbox/admin/config/yield-sources/{source}/tokens/{entryKey}"
tags: ["Auth"]
---

# Enable or disable a yield source token for toolbox Admin

`PATCH /v3/toolbox/admin/config/yield-sources/{source}/tokens/{entryKey}`

Updates the token enabled state. Disabling a YAML baseline token creates a toolbox-managed disabled override so the effective adapter configuration suppresses it.

## Path parameters

- `source` string, required
- `entryKey` string, required

## Request body

- TokenCorrelationRuleEnabledRequest
  - `enabled` boolean, required

## Response `200`

Yield source token updated.

- object
  - `data` YieldSourceTokenResponse
    - `entryKey` string, required
    - `source` string, required
    - `chainId` integer, required
    - `address` string, required
    - `symbol` string
    - `apyMapping` string
    - `metadata` object
    - `enabled` boolean, required
    - `origin` 'yaml' | 'toolbox', required
    - `createdAt` string, date-time, nullable
    - `updatedAt` string, date-time, nullable
    - `createdBy` string, nullable
    - `updatedBy` string, nullable
    - `validationError` string — Validation failure that caused a persisted override to be disabled.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `413` — Request body too large
- `415` — Unsupported media type
- `500` — Internal server error

---

[API](https://skmtc.dev/euler/apis/euler-data-api-v3.md) · [All operations](https://skmtc.dev/euler/apis/euler-data-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/euler/euler-data-api-v3/revisions/9573a5fbd4a6/schema)
