post

/v4/internal/key-value-stores/quotas

Grant a self-serve creator quota (BackOffice only)

Request body

object
ownerAddressstring
required
Grantee address
maxConfigsnumber
required
Max configs this user may own
maxSizeLimitnumber
required
Ceiling on per-config sizeLimit
allowedTypesenum[]
required
Config types this user may createWHITELISTBLACKLISTBOOSTREFERRERFORWARDERAPR

Responses

200
Response for status 200
Schema
object
ownerAddressstring
required
maxConfigsnumber
required
maxSizeLimitnumber
required
allowedTypesstring[]
required
createdAtstring
required
updatedAtstring
required
Example
{
  "ownerAddress": "string",
  "maxConfigs": 0,
  "maxSizeLimit": 0,
  "allowedTypes": [
    "string"
  ],
  "createdAt": "string",
  "updatedAt": "string"
}
post
https://api.merkl.xyz/v4/internal/key-value-stores/quotas
Merkl API
curl -X POST "https://api.merkl.xyz/v4/internal/key-value-stores/quotas" \
  -H "Content-Type: application/json" \
  -d '{ "ownerAddress": "string", "maxConfigs": 0, "maxSizeLimit": 0, "allowedTypes": [ "WHITELIST" ] }'
Current params
{
  "body": {
    "ownerAddress": "string",
    "maxConfigs": 0,
    "maxSizeLimit": 0,
    "allowedTypes": [
      "WHITELIST"
    ]
  }
}
Live request — this will call https://api.merkl.xyz/ for real.