Skip to main content
PATCH
/
v1
/
api-keys
/
{key_id}
Update API key spending limit
curl --request PATCH \
  --url https://reelmirror.com/api/v1/api-keys/{key_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "monthly_limit_cents": 500050
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "monthly_limit_cents": 123
  }
}

Authorizations

Authorization
string
header
required

API key (rm_xxx) or JWT token

Path Parameters

key_id
string
required

Body

application/json
monthly_limit_cents
integer | null

Monthly spending limit in cents. Set to null to remove limit.

Required range: 100 <= x <= 1000000

Response

200 - application/json

Key updated

data
object