latestOpenAPI 3.1.02026-08-10150311431.9 KB

c1f3c6d96b31

Licenses

Grant access to the license pool

patch/licenses/pools/{pool_id}/permissions

Path parameters

pool_idstring uuid required

Request body

Example request

{
  "resources": [
    {
      "subject": {
        "name": "ladybugbot"
      }
    }
  ]
}

Response

Successful Response

idstring uuid required

The ID of the pool

license_idstring required

The ID of the license to which the pool provides access

productstring required

The pollination product to which this pool provides access

descriptionstring

The description of the pool

total_activationsinteger required

The number of current activations for this license

allowed_activationsinteger required

The number of allowable activations for this license

Example response

{
  "owner": {
    "id": "0ad77f99-8043-46e4-8220-7221487c3ee5",
    "account_type": "user",
    "name": "ladybugbot",
    "display_name": "Ladybug Bot",
    "description": "Beep Boop!"
  },
  "accessors": [
    {
      "subject": {
        "id": "0ad77f99-8043-46e4-8220-7221487c3ee5",
        "account_type": "user",
        "name": "ladybugbot",
        "display_name": "Ladybug Bot",
        "description": "Beep Boop!"
      }
    }
  ],
  "permissions": {
    "read": true
  }
}