A method to bind specified users with specified product licenses. The 'suppressEmail' boolean request parameter may be included to control whether a welcome email is sent to users.

See Manage Licenses for additional license methods.

Parameters

Name Required Data Type Value Range Description
suppressEmail No boolean True/False disables email to newly licensed or unlicensed users

Roles

SUPER_USER
MANAGE_SEATS

URL

https://api.getgo.com/admin/rest/v1/accounts/{accountKey}/licenses/{licenseKeys}/users/{userKeys}

Method

PUT

Response Type

JSON

HTTP Request Example

PUT
https://api.getgo.com/admin/rest/v1/accounts/8830995/licenses/9000,1000/users/123,567,987
HTTP 1.1
Accept: application/json
Content-type: application/json
Authorization: OAuth oauth_token= ZlUe11FakEyCWxtOkeN3wk0uTKuL

Response Example

204 No Content

Status Codes

Status Code Field/Rejected Value Description
404 Not Found user.not.found {userKey} User not found
404 Not Found license.not.found {licenseKey} License not found
422 Unprocessable Entity license.insufficient.seats {licenseKey} Insufficient seats to license users