Free the seat an application instance holds, so it can be given to
another one. Collect frees the seats of instances that leave the
inventory on its own. Requires manage:entitlements on a system
within the caller's hierarchy.
Path parameters
-
System ID
-
Catalog id (or legacy alias) of a seated add-on
-
Application instance holding the seat
DELETE
/systems/{id}/entitlements/{entitlement}/seats/{module_id}
curl \
--request DELETE 'https://my.nethesis.it/backend/api/systems/sys_123456789/entitlements/nethvoice-chat/seats/nethvoice5' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"code": 200,
"message": "seat released successfully",
"data": {}
}
Response examples (400)
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "username",
"message": "required",
"value": "string"
}
]
}
}
Response examples (401)
{
"code": 401,
"message": "invalid token",
"data": {}
}
Response examples (403)
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}
Response examples (404)
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "username",
"message": "required",
"value": "string"
}
]
}
}
Response examples (500)
{
"code": 500,
"message": "internal server error",
"data": {}
}