Update an accounting dimension
Changed onTurn a dimension on or off, rename it, or set the default value new entries are coded with. Required dimensions can't be turned off, and neither they nor account can be renamed.
patch/v2/accounting/dimensions/{dimensionKey}
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/accounting/dimensions/{dimensionKey}
- AuthAPI key in header X-API-Key
Request body
Example request
{
"connectionId": "accounting_connection_2rj4l7hmrrrcv",
"name": "Cost Center",
"defaultValueId": "accounting_class_2rj4l7hmrrrcv"
}Response
The dimension as updated.
Example response
{
"key": "account",
"connectionId": "accounting_connection_2rj4l7hmrrrcv",
"name": "Account",
"parentKey": "project",
"defaultValueId": "accounting_account_2rj4l7hmrrrcv",
"customField": {
"fieldKey": "cf_cost_center"
}
}Changes
- info
endpoint added
- info