Class LicenseSubUserOperations
java.lang.Object
dev.demeng.sentinel.client.license.LicenseSubUserOperations
Operations for managing license sub-users.
Obtain an instance via LicenseService.subUsers().
-
Method Summary
-
Method Details
-
add
Adds sub-users to a license.- Parameters:
key- the license keysubUsers- the sub-users to add- Returns:
- the updated license
- Throws:
SentinelException- if a network or API error occurs
-
remove
Removes sub-users from a license.Uses POST instead of DELETE because the request body is structured.
- Parameters:
key- the license keysubUsers- the sub-users to remove- Returns:
- the updated license
- Throws:
SentinelException- if a network or API error occurs
-