---
title: "POST /update_allowance"
method: POST
path: "/update_allowance"
tags: ["crate"]
---

# POST /update_allowance

`POST /update_allowance`

## Request body

- AccountIdAllowanceJson
  - `account_id` string, required
  - `allowance` integer, required

## Response `201`

Relayer DB updated for {account_id: example.near,allowance: 90000000000000}

## Other responses

- `500` — Error updating account_id example.near with allowance 90000000000000 in Relayer DB: {db_result:?}

---

[API](https://skmtc.dev/near/apis/relayer.md) · [All operations](https://skmtc.dev/near/apis/relayer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/near/relayer/revisions/6670717c9a6f/schema)
