Skip to main content
PATCH
/
admin
/
licenses
/
{license_id}
Update license
curl --request PATCH \
  --url https://api.mnemom.ai/v1/admin/licenses/{license_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "expires_at": "2023-11-07T05:31:56Z",
  "max_activations": 123,
  "limits": {},
  "feature_flags": {},
  "notes": "<string>"
}
'
{
  "license_id": "<string>",
  "updated": true
}

Authorizations

Authorization
string
header
required

Supabase service role key for admin and service endpoints

Path Parameters

license_id
string
required

Body

application/json
expires_at
string<date-time>
max_activations
integer
limits
object
feature_flags
object
notes
string

Response

License updated

license_id
string
updated
boolean