Enable or disable a dimension value
Turn a value on or off for coding, for example to hide a retired account. Entries already coded with it keep it.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
Path Parameters
Response
The value, with its new availability.
One selectable value of a dimension: a general-ledger account, a vendor record, a class, and so on. Use id when coding a line item.
Value id. The prefix depends on the dimension's type: accounting_account_, accounting_vendor_, and so on for platform dimensions; acc_dim_val_ for generic dimensions. A custom_field option's id is the option value itself, the string customFields takes.
"accounting_account_2rj4l7hmrrrcv"