---
title: "Delete an introducing broker variable"
method: DELETE
path: "/api-regulated/v1/introducing-brokers/{id}/variables/{name}"
tags: ["IntroducingBroker"]
---

# Delete an introducing broker variable

`DELETE /api-regulated/v1/introducing-brokers/{id}/variables/{name}`

## Request

- Base URL: `https://api.currencyguard.com`
- URL: `https://api.currencyguard.com/api-regulated/v1/introducing-brokers/{id}/variables/{name}`
- Auth: OAuth 2 (implicit, authorization URL `https://auth.currencyguard.com/oauth2/authorize`, scopes: `regulated.parties.canModifyIntroducingBroker`)

Removes one variable by name. A name that is not set is a 404 rather than a silent success, so a misspelled name cannot be mistaken for a credential successfully revoked.

**Required entitlement:** `regulated.parties.canModifyIntroducingBroker`  
_Entitles the regulated user to create and update introducing broker records within their regulated entity_

## Path parameters

- `id` string, uuid, required
- `name` string, required

## Response `200`

Variable removed; returns the remaining variable list

- EntityVariableDTO[]
  - `name` string: The variable name.
  - `value` string: The value. Returned for secret variables too — this endpoint is the one place a credential is served, and clients are expected to obscure it until the user reveals it.
  - `secret` boolean: Whether this variable is a credential and must be obscured on screen until revealed. True for any name ending in _PASSWORD, _SECRET, _TOKEN or _KEY.

## Other responses

- `400`: Invalid variable name — [`http/malformed-request`](/problems/http/malformed-request/)
- `401`: Not authenticated — [`security/authentication-failed`](/problems/security/authentication-failed/)
- `403`: Not authorized — [`security/insufficient-permissions`](/problems/security/insufficient-permissions/)
- `404`: Introducing broker or variable not found — [`http/resource-not-found`](/problems/http/resource-not-found/)
- `409`: The broker's PII could not be decrypted, so it cannot be edited — [`http/resource-conflict`](/problems/http/resource-conflict/)
- `500`: Server error — [`server/internal-error`](/problems/server/internal-error/)

---

[API](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external.md) · [All operations](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/revisions/a1f3f854190d?raw)
