RegulatedEntity

Delete one of my regulated entity's variables

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.

delete/api-regulated/v1/regulated-entities/self/variables/{name}

Request

  • Base URL: https://api.currencyguard.com
  • URL: https://api.currencyguard.com/api-regulated/v1/regulated-entities/self/variables/{name}
  • Auth: HTTP bearer

Path parameters

namestring required

Variable name

Response

Variable removed; returns the remaining variable list

namestring

The variable name.

valuestring

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.

secretboolean

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.

Example response

[
  {
    "name": "TRANSFERMATE_USERNAME",
    "value": "FASTER_PAYMENTS"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.