Licenses
Grant access to the license pool
Changed onpatch/licenses/pools/{pool_id}/permissions
Request
- The document declares no server URL.
- Auth: one of:
- HTTP bearer
- API key in header x-pollination-token
Path parameters
pool_idstring uuid required
Request body
Example request
{
"resources": [
{
"subject": {
"name": "ladybugbot"
}
}
]
}Response
Successful Response
Example response
{
"owner": {
"id": "0ad77f99-8043-46e4-8220-7221487c3ee5",
"account_type": "user",
"name": "ladybugbot",
"display_name": "Ladybug Bot",
"description": "Beep Boop!"
},
"permissions": {
"read": true
},
"accessors": [
{
"subject": {
"id": "0ad77f99-8043-46e4-8220-7221487c3ee5",
"account_type": "user",
"name": "ladybugbot",
"display_name": "Ladybug Bot",
"description": "Beep Boop!"
}
}
]
}Changes
- breaking
response property
detail/items/loc/items/list-of-types was widened by adding typesintegerto media typeapplication/jsonof response422
- breaking
- info
endpoint added
- info