Add License to Licenses of a User
Request
POST <REST API URL>/users/{user id}/licenses?fields=string
Parameter | Description |
---|---|
fields | Optional query parameter. Specifies a subset of the fields to be returned. Use Fields Syntax to define subset. |
Request Body
license
extends settings
{
"licenseKey": string,
"licenseName": string,
"service": service,
"users": [user, ...],
"autoJoinGroups": [userGroup, ...],
"licenseInfo": licenseInfo,
"id": string /* from settings */,
"aliasIds": [string, ...] /* from settings */,
"aliases": [alias, ...] /* from settings */
}
Response
Response body
license
extends settings
{
"licenseKey": string,
"licenseName": string,
"service": service,
"users": [user, ...],
"autoJoinGroups": [userGroup, ...],
"licenseInfo": licenseInfo,
"id": string /* from settings */,
"aliasIds": [string, ...] /* from settings */,
"aliases": [alias, ...] /* from settings */
}
Last modified: 6 April 2017