---
title: "Update Business Mapping"
method: PUT
path: "/api/v1/usage/business-mapping/mappings/{business-mapping-id}"
tags: ["Business Mapping"]
---

# Update Business Mapping

`PUT /api/v1/usage/business-mapping/mappings/{business-mapping-id}`

## Request

- Base URL: `https://api.umbrellacost.io`
- URL: `https://api.umbrellacost.io/api/v1/usage/business-mapping/mappings/{business-mapping-id}`
- Auth: none declared. Required headers: `Authorization`, `apikey`

This call is used to update a business mapping rule in the account.

## Path parameters

- `business-mapping-id` string, required

## Headers

- `Authorization` string, required
- `apikey` string, required

## Request body

- object
  - `name` string, required: Mapping name
  - `rank` integer, required: ranked order of this rule
  - `rules` string[]: Filters which define the mapping (Array of filter fields. See structure above)
  - `split` boolean: Determine whether the cost should be split
  - `splitOptions	` string: split type (One of "EQUAL", "RATIO")
  - `mapping` string[]: Mapping ids to be split (Array of mapping IDs)

## Response `200`

---

[API](https://skmtc.dev/umbrellacost/apis/cost-usage.md) - [All operations](https://skmtc.dev/umbrellacost/apis/cost-usage/llms.txt) - [OpenAPI document](https://skmtc.dev/umbrellacost/apis/cost-usage/revisions/c5ae311d18ae?raw)
