admin

Sets the monthly offline-download allowance (MiB) on an identity (subscription plans / SDK licence). Idempotent by `reason`.

post/admin/identities/{email}/download-allowance

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/admin/identities/{email}/download-allowance
  • Auth: HTTP bearer

Path parameters

emailstring required

Identity email (case-insensitive)

Request body

mibinteger required

New monthly offline-download allowance for the identity, in MiB (>= 0). Plans raise it; cancellation resets it to the free eval default.

reasonstring required

Idempotency reason, e.g. stripe-sub:sub_…:1750000000. Repeating a reason is a no-op returning the recorded allowance.

Response

Allowance applied (or unchanged, when the reason was replayed)

download_allowance_mibinteger required

The download allowance now recorded for this reason, in MiB.

duplicateboolean required

true when the reason had already been applied (idempotent replay; nothing changed).

emailstring required

Canonical (lowercased) identity email.

Changes

No recorded changes to this operation across all 1 revision of this API.