Dimensions
Enable or disable many dimension values
Turn up to 100 values of one dimension on or off at once. The batch succeeds or fails as a whole.
POST
Enable or disable many dimension values
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
The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.
Pattern:
^le_[a-zA-Z0-9]+$Path Parameters
A key from GET /v2/accounting/dimensions.
Body
application/json
Response
The values, in the order given, with their new availability.