POST
/
orgs
/
license
/
sign
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="
}

Response

200
application/json
OK
key_id
string

A sha256 identifier of the public key

Example:

"743420a8aee6f063d50e6203b588c06381020c84fea3543ff10f8470873779bc"

payload
object

The payload information of the license

signature
string

The payload signature

Example:

"pA4POB1vB1yBfE+HcPD4FSPT8yY="