---
title: "Update Api Key Access"
method: POST
path: "/v1/portal/api_keys/access"
tags: ["portal"]
---

# Update Api Key Access

`POST /v1/portal/api_keys/access`

## Request

- Base URL: `https://app.mrtrades.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.mrtrades.com/v1/portal/api_keys/access`
- Auth: none declared

## Headers

- `x-api-key` string, nullable

## Request body

- AccessKeyBody
  - `key_id` integer, nullable
  - `prefix` string, nullable
  - `scopes` string[], nullable
  - `rate_limit_per_minute` integer, nullable
  - `expires_at` string, date-time, nullable
  - `clear_rate_limit` boolean
  - `clear_expiry` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mrtrades/apis/mtdp-api.md) · [All operations](https://skmtc.dev/mrtrades/apis/mtdp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mrtrades/apis/mtdp-api/revisions/bc6c76f51439?raw)
