Skip to main content
POST
/
admin
/
licenses
Create enterprise license key
curl --request POST \
  --url https://api.mnemom.ai/v1/admin/licenses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "<string>",
  "expires_in_days": 1825,
  "expires_at": "2023-11-07T05:31:56Z",
  "max_activations": 1,
  "is_offline": false,
  "feature_flags": {},
  "limits": {},
  "notes": "<string>"
}
'
{
  "license_id": "<string>",
  "license_jwt": "<string>",
  "expires_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Supabase service role key for admin and service endpoints

Body

application/json
account_id
string
required
expires_in_days
integer
Required range: 1 <= x <= 3650
expires_at
string<date-time>
max_activations
integer
default:1
is_offline
boolean
default:false
feature_flags
object
limits
object
notes
string

Response

License created

license_id
string
license_jwt
string
expires_at
string<date-time>