curl --request POST \
--url https://use.hoop.dev/api/orgs/license/sign{
"key_id": "743420a8aee6f063d50e6203b588c06381020c84fea3543ff10f8470873779bc",
"payload": {
"allowed_hosts": [
"johnwick.org",
"homolog.jhonwick.org",
"*.system.johnwick.org"
],
"description": "John Wick's Bad Organization",
"expire_at": 1722997969,
"issued_at": 1721997969,
"type": "enterprise"
},
"signature": "pA4POB1vB1yBfE+HcPD4FSPT8yY="
}Sign a new license for a customer. This route is for internal use only
curl --request POST \
--url https://use.hoop.dev/api/orgs/license/sign{
"key_id": "743420a8aee6f063d50e6203b588c06381020c84fea3543ff10f8470873779bc",
"payload": {
"allowed_hosts": [
"johnwick.org",
"homolog.jhonwick.org",
"*.system.johnwick.org"
],
"description": "John Wick's Bad Organization",
"expire_at": 1722997969,
"issued_at": 1721997969,
"type": "enterprise"
},
"signature": "pA4POB1vB1yBfE+HcPD4FSPT8yY="
}OK
A sha256 identifier of the public key
"743420a8aee6f063d50e6203b588c06381020c84fea3543ff10f8470873779bc"
The payload information of the license
Show child attributes
The domains that are allowed to use this license.
johhwick.org - Issue a license that is valid only for the domain johnwick.org*.johhwick.org - Issue a license that is valid for all subdomains, example: <anydomain>.johnwick.org*.johhwick.org, *.johnwick2.org - Issue a license that is valid for multiple wildcard subdomains* - Issue a license that is valid for all domains (not recommeded)[
"johnwick.org",
"homolog.jhonwick.org",
"*.system.johnwick.org"
]The description containing information about the license
"John Wick's Bad Organization"
The time in timestamp the license expires
1722997969
The time in timestamp the license was issued
1721997969
Type of the license
oss, enterprise "enterprise"
The payload signature
"pA4POB1vB1yBfE+HcPD4FSPT8yY="
Was this page helpful?