---
title: "Create fee share admin config update transactions"
method: POST
path: "/fee-share/admin/update-config"
tags: ["Fee Share Admin"]
---

# Create fee share admin config update transactions

`POST /fee-share/admin/update-config`

## Request

- Base URL: `https://public-api-v2.bags.fm/api/v1`
- URL: `https://public-api-v2.bags.fm/api/v1/fee-share/admin/update-config`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/bags/apis/bags-public-api-v2/docs/fee-share/admin/update-config/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates transactions to update the fee share configuration for a token. Allows the admin to change the fee claimers and their basis point allocations.

## Request body

- FeeShareAdminUpdateConfigRequest
  - `baseMint` string, required: Public key of the base mint
  - `basisPointsArray` number[], required: Array of basis points for each fee claimer. Must align with claimersArray. Total must equal 10,000.
  - `claimersArray` string[], required: Array of fee claimer wallet public keys. Must align with basisPointsArray. Maximum 100, no duplicates.
  - `payer` string, required: Public key of the payer wallet
  - `additionalLookupTables` string[], nullable: Optional array of lookup table addresses. Required when there are more than 7 fee claimers.

## Response `200`

Successfully created config update transactions

- object
  - `success` boolean, required
  - `response` object
    - `transactions` TransactionWithBlockhash[], required: Array of transactions to be signed and sent in order
      - `blockhash` BlockhashWithExpiryBlockHeight, required
        - `blockhash` string, required: Recent blockhash for the transaction
        - `lastValidBlockHeight` number, required: The last block height for which the blockhash is valid
      - `transaction` string, required: Base58 encoded serialized versioned transaction

## Other responses

- `400`: Bad request - Invalid parameters, BPS values must sum to 10,000, or duplicate claimers
- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error

---

[API](https://skmtc.dev/bags/apis/bags-public-api-v2.md) - [All operations](https://skmtc.dev/bags/apis/bags-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/bags/apis/bags-public-api-v2/revisions/4a14b82cd39d?raw)
